Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The SetColorKey method sets the source color key that the VMR will use when compositing the video image.
Syntax
HRESULT SetColorKey(
DDCOLORKEY clr
);
Parameters
clr
[in] Specifies the source color key as a DDCOLORKEY type.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
See Also