fnCallback

HRESULT WINAPI lpfnCallback(LPDIRECTDRAWSURFACE lpDDSurface,

LPVOID lpContext);

Application-defined callback function for the IDirectDrawSurface2::EnumOverlayZOrders method.

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

lpDDSurface

Address of the surface being overlaid on this surface.

lpContext

Address of an application-defined structure that will be passed to the callback function each time the function is called.