From: Ged Murphy Date: Wed, 11 Jan 2006 00:02:14 +0000 (+0000) Subject: use GET_X/Y_LPARAM as per MSDN X-Git-Tag: backups/expat-rbuild@40467~391 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=4b2b551c629236917a114a362cfcec988269037c;hp=08490144e89bee81d756cf16bf0ad1805ec9baaa use GET_X/Y_LPARAM as per MSDN svn path=/trunk/; revision=20776 --- diff --git a/reactos/subsys/system/servman/servman.c b/reactos/subsys/system/servman/servman.c index dc10abe8e11..0d006808c59 100644 --- a/reactos/subsys/system/servman/servman.c +++ b/reactos/subsys/system/servman/servman.c @@ -318,8 +318,8 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { int xPos, yPos; - xPos = LOWORD(lParam); - yPos = HIWORD(lParam); + xPos = GET_X_LPARAM(lParam); + yPos = GET_Y_LPARAM(lParam); TrackPopupMenuEx(hShortcutMenu, TPM_RIGHTBUTTON, xPos, yPos, hwnd, NULL); } diff --git a/reactos/subsys/system/servman/servman.h b/reactos/subsys/system/servman/servman.h index a1c1830d242..8ff0c0aae8c 100644 --- a/reactos/subsys/system/servman/servman.h +++ b/reactos/subsys/system/servman/servman.h @@ -1,8 +1,9 @@ #ifndef __SERVMAN_H #define __SERVMAN_H - +#define WIN32_LEAN_AND_MEAN #include +#include #include #include #include