PFND3DDDI_VALIDATEDEVICE callback function

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 *
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

*

Return Value

ValidateDevice returns S_OK or an appropriate error result if the number of necessary hardware passes is not successfully received.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIARG_VALIDATETEXTURESTAGESTATE

D3DDDI_DEVICEFUNCS