D3DM_ValidateDevice (Windows Embedded CE 6.0)

1/6/2010

This function reports the number of passes that a driver must make to render the current texture blending operation.

Syntax

typedef DWORD (*D3DM_VALIDATEDEVICE_PTR)(D3DM_VALIDATEDEVICE_DATA *);

Parameters

  • D3DM_VALIDATEDEVICE_DATA
    [in, out] A pointer to a D3DM_VALIDATEDEVICE_DATA structure that describes the number of passes the driver needs based on the current texture state.

Return Value

Implement this function so that it returns D3DM_DRIVER_HANDLED when it succeeds and D3DM_DRIVER_NOTHANDLED when it fails.

Remarks

If the call to D3DM_ValidateDevice fails, the behavior for setting D3DM_VALIDATEDEVICE_DATA.NumPasses is undefined.

Requirements

Header d3dmddk.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Functions
D3DM_VALIDATEDEVICE_DATA