// d3dhal.h
typedef struct _D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
ULONG_PTR dwhContext;
DWORD dwFlags;
ULONG_PTR dwReserved;
DWORD dwNumPasses;
HRESULT ddrval;
} D3DHAL_VALIDATETEXTURESTAGESTATEDATA;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DHAL_VALIDATETEXTURESTAGESTATEDATA structure contains the information required for the driver to determine and return its ability to support multitexturing using the current state.
dwhContextSpecifies the context ID of the Direct3D device.
dwFlagsCurrently set to zero and should be ignored by the driver.
dwReservedReserved for system use and should be ignored by the driver.
dwNumPassesSpecifies the location where the driver should write the number of passes required by the hardware to perform the blending operations.
ddrvalSpecifies the location where the driver writes the return value of the D3dValidateTextureStageState function. A return code of D3D_OK indicates success. For more information, see Return Codes for Direct3D Driver Callbacks.