use GET_X/Y_LPARAM as per MSDN
[reactos.git] / reactos / subsys / system / servman / servman.c
index dc10abe..0d00680 100644 (file)
@@ -318,8 +318,8 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
             {\r
                 int xPos, yPos;\r
 \r
-                xPos = LOWORD(lParam); \r
-                yPos = HIWORD(lParam);\r
+                xPos = GET_X_LPARAM(lParam); \r
+                yPos = GET_Y_LPARAM(lParam);\r
 \r
                 TrackPopupMenuEx(hShortcutMenu, TPM_RIGHTBUTTON, xPos, yPos, hwnd, NULL);\r
             }\r