Microsoft DirectX 9.0 |
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.
See Also