Compartilhar via


D3DM_DestroySurface (Windows CE 5.0)

Send Feedback

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.

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

OS Versions: Windows CE 5.0
Header: D3dmddk.h.
Link Library: Developer implemented.

See Also

Direct3D Mobile Driver Functions | D3DM_DESTROYSURFACE_DATA | Surface Creation by Direct3D Mobile Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.