[WIN32K] Fix 64 bit issues (#420)

- Fix ULONG/SIZE_T issues
- Use LOWORD/HIWORD
- Change a struct member to HANDLE
- Implement lstrlenW helper function
This commit is contained in:
Timo Kreuzer 2018-03-18 15:53:52 +01:00 committed by GitHub
parent 5b2ff8a3f9
commit 2d9c88e0c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 108 additions and 94 deletions

View file

@ -219,7 +219,7 @@ typedef struct tagHOOK
int HookId; /* Hook table index */
ULONG_PTR offPfn;
ULONG flags; /* Some internal flags */
INT ihmod;
INT_PTR ihmod;
struct _THREADINFO *ptiHooked;
struct _DESKTOP *rpdesk;
/* ReactOS */
@ -692,7 +692,7 @@ typedef struct _WND
HMENU SystemMenu;
//PMENU spmenuSys;
/* Window menu handle or window id */
UINT IDMenu; // Use spmenu
UINT_PTR IDMenu; // Use spmenu
//PMENU spmenu;
HRGN hrgnClip;
HRGN hrgnNewFrame;
@ -1662,14 +1662,14 @@ DWORD
NTAPI
NtUserCallHwndParam(
HWND hWnd,
DWORD Param,
DWORD_PTR Param,
DWORD Routine);
DWORD
NTAPI
NtUserCallHwndParamLock(
HWND hWnd,
DWORD Param,
DWORD_PTR Param,
DWORD Routine);
BOOL