EnumSurfacesCallback

HRESULT WINAPI lpEnumSurfacesCallback(

LPDIRECTDRAWSURFACE2 lpDDSurface,

LPDDSURFACEDESC lpDDSurfaceDesc, LPVOID lpContext);

Application-defined callback function for the IDirectDrawSurface2::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 an application-defined structure that will be passed to the callback function each time the function is called.