Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9cc75a5b
Commit
9cc75a5b
authored
Jan 10, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Winproc handles do not get sign-extended on 64-bit.
parent
8377b246
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
class.c
dlls/user32/tests/class.c
+1
-1
winproc.c
dlls/user32/winproc.c
+1
-1
No files found.
dlls/user32/tests/class.c
View file @
9cc75a5b
...
@@ -39,7 +39,7 @@ static const WCHAR WC_EDITW[] = {'E','d','i','t',0};
...
@@ -39,7 +39,7 @@ static const WCHAR WC_EDITW[] = {'E','d','i','t',0};
#define NUMCLASSWORDS 4
#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
)
static
LRESULT
WINAPI
ClassTest_WndProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
{
...
...
dlls/user32/winproc.c
View file @
9cc75a5b
...
@@ -50,7 +50,7 @@ typedef struct tagWINDOWPROC
...
@@ -50,7 +50,7 @@ typedef struct tagWINDOWPROC
WNDPROC
procW
;
/* Unicode window proc */
WNDPROC
procW
;
/* Unicode window proc */
}
WINDOWPROC
;
}
WINDOWPROC
;
#define WINPROC_HANDLE (~0
UL
>> 16)
#define WINPROC_HANDLE (~0
u
>> 16)
#define MAX_WINPROCS 8192
#define MAX_WINPROCS 8192
#define BUILTIN_WINPROCS 9
/* first BUILTIN_WINPROCS entries are reserved for builtin procs */
#define BUILTIN_WINPROCS 9
/* first BUILTIN_WINPROCS entries are reserved for builtin procs */
#define MAX_WINPROC_RECURSION 64
#define MAX_WINPROC_RECURSION 64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment