Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::GetBackgroundColor

The GetBackgroundColor method retrieves the physical color to use as background for overlays.

Syntax

HRESULT GetBackgroundColor(
  DWORD *pdwPhysColor
);

Parameters

pdwPhysColor

Pointer to the retrieved value indicating the background color. The color value is a DWORD consisting of 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