Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the surface's color key value.
Syntax
HRESULT retVal = object.GetColorKey(pColorKey);
Parameters
pColorKey
Type: DXSAMPLEPointer to the DXSAMPLE structure that indicates the color to treat as transparent.
Remarks
Some surface implementations do not allow color keys, so the method can return E_NOTIMPL.