PFND3DDDI_VALIDATEDEVICE callback function (d3dumddi.h)
The ValidateDevice function returns the number of passes in which the hardware can perform the blending operations that are specified in the current state.
Syntax
PFND3DDDI_VALIDATEDEVICE Pfnd3dddiValidatedevice;
HRESULT Pfnd3dddiValidatedevice(
HANDLE hDevice,
D3DDDIARG_VALIDATETEXTURESTAGESTATE *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in, out]
A pointer to a D3DDDIARG_VALIDATETEXTURESTAGESTATE structure that receives the number of passes in which the hardware can perform the blending operations.
Return value
ValidateDevice returns S_OK or an appropriate error result if the number of necessary hardware passes is not successfully received.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |