IDXSurface::GetPixelFormat Method

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 pixel format of the surface.

Syntax


HRESULT GetPixelFormat(
    GUID *pFormatID,
    DXSAMPLEFORMATENUM *pSampleFormatEnum
);

Parameters

pFormatID
[out] Pointer to the pixel format's GUID.
pSampleFormatEnum
[out] Pointer to one of the Microsoft DirectX Transform–supported pixel formats from the DXSAMPLEFORMATENUM enumeration.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

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

Community Additions

ADD
Show:
© 2014 Microsoft