Microsoft DirectX 8.1 (C++) |
The SetBackgroundColor method sets the physical color to use as background for overlays.
Syntax
HRESULT SetBackgroundColor(
DWORD dwPhysColor
);
Parameters
dwPhysColor
DWORD value that specifies the physical background color. The color is specified as an RGB triple combined using a bitwise OR. The number of bits in each color component depends on the current bit depth.
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
Magenta is the default background color.
See Also