This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.
Retrieves the surface's color key value.
HRESULT GetColorKey( DXSAMPLE *pColorKey );
- Pointer to the DXSAMPLE structure that indicates the color to treat as transparent.
Returns an HRESULT value that depends on the implementation of the interface.
Some surface implementations do not allow color keys, so the method can return E_NOTIMPL.