typedef struct _DD_UNLOCKDATA{
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_SURFACE_LOCAL lpDDSurface;
HRESULT ddRVal;
VOID * Unlock;
} DD_UNLOCKDATA;
The DD_UNLOCKDATA structure is passed to the DirectDraw hardware interface’s Unlock surface object callback.