DD_DESTROYSURFACEDATA structure

The DD_DESTROYSURFACEDATA structure contains information necessary to destroy the specified surface--in the case of DestroyD3DBuffer, a command or vertex buffer.

Syntax


typedef struct _DD_DESTROYSURFACEDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSurface;
  HRESULT               ddRVal;
  VOID                  *DestroySurface;
} DD_DESTROYSURFACEDATA;

Members

lpDD

Points to the DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

lpDDSurface

Points to the DD_SURFACE_LOCAL structure representing the surface or buffer object to be destroyed.

ddRVal

Specifies the location in which the driver writes the return value of either the DdDestroySurface or DestroyD3DBuffer callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

DestroySurface

Used by the Microsoft DirectDraw API and should not be filled in by the driver.

Requirements

Header

Ddrawint.h (include Winddi.h)

See also

DdDestroySurface
DestroyD3DBuffer

 

 

Send comments about this topic to Microsoft

Show: