DD_UNLOCKDATA structure (ddrawint.h)

The DD_UNLOCKDATA structure contains information necessary to do an unlock as defined by Microsoft DirectDraw parameter structures.

Syntax

typedef struct _DD_UNLOCKDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSurface;
  HRESULT               ddRVal;
  VOID                  *Unlock;
} *PDD_UNLOCKDATA, DD_UNLOCKDATA;

Members

lpDD

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

lpDDSurface

Points to a DD_SURFACE_LOCAL structure that describes the surface--in the case of UnlockD3DBuffer, a buffer--to be unlocked.

ddRVal

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

Unlock

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

DdUnlock

UnlockD3DBuffer