HRESULT WINAPI lpEnumModesCallback(LPDDSURFACEDESC lpDDSurfaceDesc,
LPVOID lpContext);
Application-defined callback function for the IDirectDraw2::EnumDisplayModes method.
·Returns DDENUMRET_OK to continue the enumeration, or DDENUMRET_CANCEL to stop it.
lpDDSurfaceDesc
Address of the DDSURFACEDESC structure that provides the monitor frequency and the mode that can be created. This data is read-only.
lpContext
Address of an application-defined structure that will be passed to the callback function each time the function is called.