CreateSurface

DWORD (APIENTRY *PDD_CREATESURFACE)(
PDD_CREATESURFACEDATA lpCreateSurface
);

CreateSurface is a DirectDraw object callback that creates a DirectDraw suface object.

Parameters

lpCreateSurface

Pointer to a DD_CREATESURFACEDATA structure that contains the information required to create a surface.

Return Value

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