D3DM_ValidateDevice (Windows CE 5.0)

Send Feedback

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

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 Values

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

OS Versions: Windows CE 5.0
Header: D3dmddk.h.
Link Library: Developer implemented.

See Also

Direct3D Mobile Driver Functions | D3DM_VALIDATEDEVICE_DATA

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.