DisplayServer: fix win32 compatibility

This commit is contained in:
李通洲
2023-01-18 22:44:24 +08:00
parent 10b997608b
commit 4ce618c33c
@@ -11,7 +11,7 @@ typedef struct
uint32_t height;
} DataBundle;
static WINBOOL enumMonitorProc(HMONITOR hMonitor, FF_MAYBE_UNUSED HDC hDC, FF_MAYBE_UNUSED LPRECT rc, LPARAM lparam)
static CALLBACK WINBOOL enumMonitorProc(HMONITOR hMonitor, FF_MAYBE_UNUSED HDC hDC, FF_MAYBE_UNUSED LPRECT rc, LPARAM lparam)
{
MONITORINFOEXW mi = { .cbSize = sizeof(mi) };
DataBundle* data = (DataBundle*) lparam;