Share via


D3DM_DESTROYSURFACE_DATA (Windows CE 5.0)

Send Feedback

This structure is passed to the driver to identify the surface that should be freed.   A pointer to this structure is passed to the driver as a parameter of the D3DM_DestroySurface function.

typedef struct _D3DM_DESTROYSURFACE_DATA {  ULONG nSurfaceId;  HRESULT rval;} D3DM_DESTROYSURFACE_DATA;

Members

  • nSurfaceId
    A ULONG value that is the handle of the surface to be destroyed. This value is assigned to the surface in the original call to the D3DM_CreateSurface function
  • rval
    An HRESULT value containing an error code reported by the driver to describe any problems it encountered while trying to free the resources for the surface. If the driver did not encounter any errors, it sets this value to D3DM_OK to indicate success.

Requirements

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Structures | D3DM_DestroySurface | D3DM_CreateSurface | Surface Creation by Direct3D Mobile Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.