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
f4c4092f
Commit
f4c4092f
authored
Aug 22, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RegisterWindowMessage declaration and improve debug message.
parent
38d67a45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
message.c
dlls/user/message.c
+8
-6
winuser.h
include/winuser.h
+2
-2
No files found.
dlls/user/message.c
View file @
f4c4092f
...
...
@@ -3203,20 +3203,22 @@ void WINAPI UserYield16(void)
* RegisterWindowMessage (USER.118)
* RegisterWindowMessageA (USER32.@)
*/
WORD
WINAPI
RegisterWindowMessageA
(
LPCSTR
str
)
UINT
WINAPI
RegisterWindowMessageA
(
LPCSTR
str
)
{
TRACE
(
"%s
\n
"
,
str
);
return
GlobalAddAtomA
(
str
);
UINT
ret
=
GlobalAddAtomA
(
str
);
TRACE
(
"%s, ret=%x
\n
"
,
str
,
ret
);
return
ret
;
}
/***********************************************************************
* RegisterWindowMessageW (USER32.@)
*/
WORD
WINAPI
RegisterWindowMessageW
(
LPCWSTR
str
)
UINT
WINAPI
RegisterWindowMessageW
(
LPCWSTR
str
)
{
TRACE
(
"%p
\n
"
,
str
);
return
GlobalAddAtomW
(
str
);
UINT
ret
=
GlobalAddAtomW
(
str
);
TRACE
(
"%s ret=%x
\n
"
,
debugstr_w
(
str
),
ret
);
return
ret
;
}
...
...
include/winuser.h
View file @
f4c4092f
...
...
@@ -4531,8 +4531,8 @@ ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *);
UINT
WINAPI
RegisterClipboardFormatA
(
LPCSTR
);
UINT
WINAPI
RegisterClipboardFormatW
(
LPCWSTR
);
#define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat)
WORD
WINAPI
RegisterWindowMessageA
(
LPCSTR
);
WORD
WINAPI
RegisterWindowMessageW
(
LPCWSTR
);
UINT
WINAPI
RegisterWindowMessageA
(
LPCSTR
);
UINT
WINAPI
RegisterWindowMessageW
(
LPCWSTR
);
#define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage)
INT
WINAPI
ReleaseDC
(
HWND
,
HDC
);
BOOL
WINAPI
RemoveMenu
(
HMENU
,
UINT
,
UINT
);
...
...
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