Share via


D3DM_CreateContext (Windows Embedded CE 6.0)

1/6/2010

This function is called by the Microsoft® Direct3D® Mobile middleware when it needs to create a rendering context.

Syntax

typedef DWORD (*D3DM_CREATECONTEXT_PTR)(D3DM_CREATECONTEXT_DATA *);

Parameters

  • D3DM_CREATECONTEXT_DATA
    [out] A pointer to a D3DM_CREATECONTEXT_DATA structure that is populated by the driver and describes the new rendering context.

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_CREATECONTEXT_DATA

Concepts

Rendering Contexts in Direct3D Mobile