Microsoft DirectX 9.0

IAMWstDecoder::GetBackgroundColor

Downstream filters use the GetBackgroundColor method to retrieve the current physical color used in color keying the background for overlay mixing.

Syntax

HRESULT GetBackgroundColor(
  DWORD*  pdwPhysColor
);

Parameters

pdwPhysColor

[out]  Specifies a pointer to a DWORD to receive the physical color as an RGB value.

Return Values

When the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See Also