mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:42:14 +00:00
[ATL] Add GET_X_LPARAM and GET_Y_LPARAM to atlwin.h
Remove all local definitions
This commit is contained in:
parent
007ec0310c
commit
f9e50f5471
8 changed files with 9 additions and 24 deletions
|
@ -52,6 +52,15 @@ inline LONG_PTR GetWindowLongPtr(HWND hWnd, int nIndex)
|
|||
namespace ATL
|
||||
{
|
||||
|
||||
#ifndef GET_X_LPARAM
|
||||
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
|
||||
#endif
|
||||
#ifndef GET_Y_LPARAM
|
||||
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
struct _ATL_WNDCLASSINFOW;
|
||||
typedef _ATL_WNDCLASSINFOW CWndClassInfo;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue