Share via


D3DM_DESTROYSURFACE_DATA (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_DestroySurface
D3DM_CreateSurface

Concepts

Surface Creation by Direct3D Mobile Drivers