EnumSurfacesCallback

HRESULT WINAPI lpEnumSurfacesCallback(

LPDIRECTDRAWSURFACE lpDDSurface,

LPDDSURFACEDESC lpDDSurfaceDesc,LPVOID lpContext);

Application-defined callback procedure for the IDirectDrawSurface::EnumAttachedSurfaces method.

·Returns DDENUMRET_OK to continue the enumeration, or DDENUMRET_CANCEL to stop it.

lpDDSurface

Address of the surface attached to this surface.

lpDDSurfaceDesc

Address of a DDSURFACEDESC structure that describes the attached surface.

lpContext

Address of the user-defined context specified by the user.