user32: Winproc handles do not get sign-extended on 64-bit.
This commit is contained in:
parent
8377b2464b
commit
9cc75a5b50
|
@ -39,7 +39,7 @@ static const WCHAR WC_EDITW[] = {'E','d','i','t',0};
|
|||
|
||||
#define NUMCLASSWORDS 4
|
||||
|
||||
#define IS_WNDPROC_HANDLE(x) (((ULONG_PTR)(x) >> 16) == (~((ULONG_PTR)0) >> 16))
|
||||
#define IS_WNDPROC_HANDLE(x) (((ULONG_PTR)(x) >> 16) == (~0u >> 16))
|
||||
|
||||
static LRESULT WINAPI ClassTest_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef struct tagWINDOWPROC
|
|||
WNDPROC procW; /* Unicode window proc */
|
||||
} WINDOWPROC;
|
||||
|
||||
#define WINPROC_HANDLE (~0UL >> 16)
|
||||
#define WINPROC_HANDLE (~0u >> 16)
|
||||
#define MAX_WINPROCS 8192
|
||||
#define BUILTIN_WINPROCS 9 /* first BUILTIN_WINPROCS entries are reserved for builtin procs */
|
||||
#define MAX_WINPROC_RECURSION 64
|
||||
|
|
Loading…
Reference in New Issue