IDirect3DDevice::EnumTextureFormats
HRESULT EnumTextureFormats(
LPD3DENUMTEXTUREFORMATSCALLBACK lpd3dEnumTextureProc,
LPVOID lpArg);
Queries the current driver for a list of supported texture formats.
·Returns D3D_OK if successful, or an error otherwise, which may be one of the following values:
lpd3dEnumTextureProc
Address of the D3DENUMTEXTUREFORMATSCALLBACK callback function that the enumeration procedure will call for each texture format.
lpArg
Address of application-defined data passed to the callback function.