D3DM_DRAWPRIMITIVE_DATA (Windows CE 5.0)
This structure describes the properties of a command buffer. A pointer to this structure is passed as a parameter of the D3DM_DrawPrimitive function.
typedef struct _D3DM_DRAWPRIMITIVE_DATA { ULONG nContextId; LPVOID pCommands; ULONG nStartOffset; ULONG nEndOffset; HRESULT rval;} D3DM_DRAWPRIMITIVE_DATA;
Members
- nContextId
A ULONG value containing the rendering context in which to process this command buffer. - pCommands
An LPVOID value pointing to the command buffer to be processed. - nStartOffset
A ULONG value containing the byte offset within the command buffer to begin processing. - nEndOffset
A ULONG value containing the byte offset within the command buffer to end processing. - rval
An HRESULT value containing an error code reported by the driver to describe any problems it encountered while trying to parse commands in the buffer. If the driver did not encounter any errors, it sets this value to D3DM_OK to indicate success. Any errors that arise during the execution of the command buffer should be held in the driver's error code.
Requirements
OS Versions: Windows CE 5.0
Header: D3dmddk.h.
See Also
Direct3D Mobile Driver Structures | D3DM_DrawPrimitive | Command Buffer Structure
Send Feedback on this topic to the authors