Partager via


Direct3D Mobile Driver Functions (Windows Embedded CE 6.0)

1/6/2010

This section contains information about the functions used with drivers for Microsoft® Direct3D® Mobile. All of these functions are callback functions implemented by the display driver and called by the Direct3D Mobile middleware.

The following table shows these functions.

Function Description

D3DM_CreateContext

Creates a rendering context.

D3DM_CreateSurface

Creates a surface.

D3DM_DestroyContext

Destroys a rendering context.

D3DM_DestroySurface

Destroys a surface and frees its resources.

D3DM_DrawPrimitive (Function)

Sends the contents of the command buffer to the driver for rendering.

D3DM_GetAdapterInfo

Gather information from the driver about the graphics device.

D3DM_GetInfo

Queries the driver for additional information beyond what is provided by D3DM_GetAdapterInfo.

D3DM_Initialize

This function is the entry point for the driver's dynamically linked library (DLL).

D3DM_LockSurface

Locks surfaces.

D3DM_ResourceManager

Takes actions on the driver's managed memory pool.

D3DM_UnlockSurface

Removes the locks on surfaces previously locked by calls to D3DM_LockSurface.

D3DM_ValidateDevice

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

See Also

Reference

D3DM_GetAdapterInfo
D3DM_LockSurface

Other Resources

Direct3D Mobile Driver Reference