windowsx.h: Fix HANDLE_WM_DISPLAYCHANGE macro.
This commit is contained in:
parent
a9200aa99d
commit
8fa295ed87
|
@ -1321,7 +1321,7 @@ extern "C" {
|
|||
|
||||
/* void Cls_OnDisplayChange(HWND hwnd, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen) */
|
||||
#define HANDLE_WM_DISPLAYCHANGE(hwnd, wParam, lParam, fn) \
|
||||
((fn)((hwnd), (UINT)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(wParam)), 0L)
|
||||
((fn)((hwnd), (UINT)(wParam), (UINT)LOWORD(lParam), (UINT)HIWORD(lParam)), 0L)
|
||||
#define FORWARD_WM_DISPLAYCHANGE(hwnd, bitsPerPixel, cxScreen, cyScreen, fn) \
|
||||
(void)(fn)((hwnd), WM_DISPLAYCHANGE, (WPARAM)(UINT)(bitsPerPixel), (LPARAM)MAKELPARAM((UINT)(cxScreen), (UINT)(cyScreen)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue