Microsoft DirectX 8.1 (C++) |
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.
See Also