GetPixelFormat method
Retrieves the pixel format of the surface.
Syntax
HRESULT retVal = object.GetPixelFormat(pFormatID, pSampleFormatEnum);
Parameters
pFormatID [out]
Type: GUIDPointer to the pixel format's GUID.
pSampleFormatEnum [out]
Type: DXSAMPLEFORMATENUMPointer to one of the Microsoft DirectX Transform–supported pixel formats from the DXSAMPLEFORMATENUM enumeration.
Remarks
Either pointer can be NULL if you do not want the information. If you override this method, you must check for NULL pointers in both parameters.
See also
Reference
Conceptual