Platform SDK: DirectX |
The D3DEnumPixelFormatsCallback is an application-defined callback function for the IDirect3D3::EnumZBufferFormats, and IDirect3DDevice3::EnumTextureFormats methods.
HRESULT CALLBACK D3DEnumPixelFormatsCallback( LPDDPIXELFORMAT lpDDPixFmt, LPVOID lpContext );
Applications should return D3DENUMRET_OK to continue the enumeration, or D3DENUMRET_CANCEL to cancel it.
The LPD3DENUMPIXELFORMATSCALLBACK data type is defined as a pointer to this callback function:
typedef HRESULT (WINAPI* LPD3DENUMPIXELFORMATSCALLBACK)(LPDDPIXELFORMAT lpDDPixFmt, LPVOID lpContext);
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Version: Requires DirectX 6.0 or later.
Header: Declared in d3dcaps.h.