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::SetDrawBackgroundMode
Downstream filters use the SetDrawBackgroundMode method to assign whether the caption text background is to be opaque or transparent.
Syntax
HRESULT SetDrawBackgroundMode( AM_WST_DRAWBGMODE Mode );
Parameters
Mode
[in] Specifies an AM_WST_DRAWBGMODE enumeration to assign whether the caption text background is to be opaque or transparent.
| 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