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 ValidateDevice;

__checkReturn HRESULT APIENTRY ValidateDevice(
  _In_    HANDLE                              hDevice,
  _Inout_ D3DDDIARG_VALIDATETEXTURESTAGESTATE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_VALIDATETEXTURESTAGESTATE
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show: