Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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.