Share via


D3DM_DrawPrimitive (Function) (Windows Embedded CE 6.0)

1/6/2010

This function is called by the Direct3D Mobile middleware to send the contents of the command buffer to the driver for rendering.

Syntax

typedef DWORD (*D3DM_DRAWPRIMITIVE_PTR)(D3DM_DRAWPRIMITIVE_DATA *);

Parameters

  • D3DM_DRAWPRIMITIVE_DATA
    [in, out] A pointer to a D3DM_DRAWPRIMITIVE_DATA structure containing information about the command buffer.

Return Value

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

Requirements

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

See Also

Reference

Direct3D Mobile Driver Functions
D3DM_DRAWPRIMITIVE_DATA

Concepts

Command Buffer Structure
Command Buffer Structure