Microsoft DirectX 8.1 (C++) |
The GetDrawBackgroundMode method retrieves whether the caption text background should be opaque or transparent.
Syntax
HRESULT GetDrawBackgroundMode(
AM_LINE21_DRAWBGMODE *lpMode
);
Parameters
lpMode
Pointer to the retrieved mode, either AM_L21_DRAWBGMODE_Opaque or AM_L21_DRAWBGMODE_Transparent.
Return Values
Returns an HRESULT value that depends on the implementation of the interface. The current DirectShow implementation returns E_INVALIDARG if a parameter is invalid or NOERROR to indicate success.
Remarks
By default, the caption background is opaque.
See Also