Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 |
IAMWstDecoder::GetDrawBackgroundMode
Downstream filters use the GetDrawBackgroundMode method to determine whether the caption text background is opaque or transparent.
Syntax
HRESULT GetDrawBackgroundMode( AM_WST_DRAWBGMODE* lpMode );
Parameters
lpMode
[out] Pointer to a variable that receives a member of the AM_WST_DRAWBGMODE enumeration. This parameter receives one of the following values.
| Value | Description |
| AM_WST_DRAWBGMODE_Opaque | Caption text background is opaque. |
| AM_WST_DRAWBGMODE_Transparent | Caption text background is transparent. |
Return Values
When the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header: Include Iwstdec.h.
Library: Use Strmiids.lib.
See Also