Share via


D3DM_DestroySurface (Windows Embedded CE 6.0)

1/6/2010

This function is called by the Direct3D Mobile middleware to tell the driver to destroy a surface. This frees the resources used by the surface.

Syntax

typedef DWORD (*D3DM_DESTROYSURFACE_PTR)(D3DM_DESTROYSURFACE_DATA *);

Parameters

  • D3DM_DESTROYSURFACE_DATA
    [in, out] A pointer to a D3DM_DESTROYSURFACE_DATA structure describing the surface that the driver should destroy.

Results

Implement this function so that it returns D3DM_DRIVER_HANDLED at all times, even if an error occurred.

Requirements

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

See Also

Reference

Direct3D Mobile Driver Functions
D3DM_DESTROYSURFACE_DATA

Concepts

Surface Creation by Direct3D Mobile Drivers