Microsoft DirectX 9.0 |
The SetDrawBackgroundMode method specifies whether the Line 21 Decoder filter draws the captions on a transparent background or an opaque background. By default, the caption background is opaque.
Syntax
HRESULT SetDrawBackgroundMode(
AM_LINE21_DRAWBGMODE Mode
);
Parameters
Mode
Specifies a member of the AM_LINE21_DRAWBGMODE enumeration.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
E_INVALIDARG | Invalid argument |
S_OK | Success |
See Also