DestroySurface

DWORD (APIENTRY *PDD_SURFCB_DESTROYSURFACE)(
    PDD_DESTROYSURFACEDATA  lpDestroySurface
);

DestroySurface is a DirectDraw object callback that destroys a DirectDraw surface.

Parameters

lpDestroySurface
Pointer to a DD_DESTROYSURFACEDATA structure that contains the information required to delete a surface.

Return Value

DestroySurface returns a DDHAL_DRIVER_Xxx callback code that indicates how the driver handled the call. These return codes are defined in ddrawint.h.