Expand Minimize

DD_UNLOCKDATA structure

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;
} 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

Header

Ddrawint.h (include Winddi.h)

See also

DdUnlock
UnlockD3DBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft