Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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.