DD_FREEDRIVERMEMORYDATA structure (ddrawint.h)

The DD_FREEDRIVERMEMORYDATA structure contains the details of the free request.

Syntax

typedef struct _DD_FREEDRIVERMEMORYDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSurface;
  HRESULT               ddRVal;
  VOID                  *FreeDriverMemory;
} *PDD_FREEDRIVERMEMORYDATA, DD_FREEDRIVERMEMORYDATA;

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 that Microsoft DirectDraw is attempting to allocate.

ddRVal

Specifies the location in which the driver writes the return value of the DdFreeDriverMemory callback. A return code of DD_OK indicates that the driver succeeded in freeing some space; otherwise, the driver should set this to be DDERR_OUTOFMEMORY. For more information, see Return Values for DirectDraw.

FreeDriverMemory

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

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdFreeDriverMemory