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
3925f424
Commit
3925f424
authored
Dec 09, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe: Consistently use %I printf format for ULONG_PTR values.
parent
9f6b7eef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
bidi.c
dlls/user.exe16/bidi.c
+3
-3
dialog.c
dlls/user.exe16/dialog.c
+1
-1
message.c
dlls/user.exe16/message.c
+4
-4
user.c
dlls/user.exe16/user.c
+4
-4
No files found.
dlls/user.exe16/bidi.c
View file @
3925f424
...
...
@@ -81,7 +81,7 @@ HWND16 WINAPI CreateDialogIndirectParamML16( HINSTANCE16 hinstWnd,
LPCSTR
lpDlgName
,
HINSTANCE16
hinstLoad
)
{
FIXME
(
"( %04hx, %p, %04hx, %p, %08
l
x, %hu, %hu, %p, %04hx ): stub
\n
"
,
FIXME
(
"( %04hx, %p, %04hx, %p, %08
I
x, %hu, %hu, %p, %04hx ): stub
\n
"
,
hinstWnd
,
lpvDlgTmp
,
hwndOwner
,
dlgProc
,
lParamInit
,
iCodePage
,
iLang
,
lpDlgName
,
hinstLoad
);
return
0
;
...
...
@@ -100,7 +100,7 @@ HWND16 WINAPI DialogBoxIndirectParamML16( HINSTANCE16 hinstWnd,
LPCSTR
lpDlgName
,
HINSTANCE16
hinstLoad
)
{
FIXME
(
"( %04hx, %04hx, %04hx, %p, %08
l
x, %hu, %hu, %p, %04hx ): stub
\n
"
,
FIXME
(
"( %04hx, %04hx, %04hx, %p, %08
I
x, %hu, %hu, %p, %04hx ): stub
\n
"
,
hinstWnd
,
hglbDlgTemp
,
hwndOwner
,
dlgprc
,
lParamInit
,
iCodePage
,
iLang
,
lpDlgName
,
hinstLoad
);
return
0
;
...
...
@@ -267,7 +267,7 @@ INT16 WINAPI MessageBoxEx16( HWND16 hwndParent, LPCSTR lpszText,
LRESULT
WINAPI
QueryCodePage16
(
UINT16
idxLang
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
FIXME
(
"( %hu, %hu, %04hx, %08
l
x ): stub
\n
"
,
idxLang
,
msg
,
wParam
,
lParam
);
FIXME
(
"( %hu, %hu, %04hx, %08
I
x ): stub
\n
"
,
idxLang
,
msg
,
wParam
,
lParam
);
return
0
;
}
...
...
dlls/user.exe16/dialog.c
View file @
3925f424
...
...
@@ -789,7 +789,7 @@ HWND16 WINAPI CreateDialogParam16( HINSTANCE16 hInst, LPCSTR dlgTemplate,
HGLOBAL16
hmem
;
LPCVOID
data
;
TRACE
(
"%04x,%s,%04x,%p,%
ld
\n
"
,
TRACE
(
"%04x,%s,%04x,%p,%
Ix
\n
"
,
hInst
,
debugstr_a
(
dlgTemplate
),
owner
,
dlgProc
,
param
);
if
(
!
(
hRsrc
=
FindResource16
(
hInst
,
dlgTemplate
,
(
LPSTR
)
RT_DIALOG
)))
return
0
;
...
...
dlls/user.exe16/message.c
View file @
3925f424
...
...
@@ -1503,9 +1503,9 @@ LRESULT WINAPI SendMessage16( HWND16 hwnd16, UINT16 msg, WPARAM16 wparam, LPARAM
if
(
!
(
winproc
=
(
WNDPROC16
)
GetWindowLong16
(
hwnd16
,
GWLP_WNDPROC
)))
return
0
;
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
l
x
\n
"
,
hwnd16
,
msg
,
wparam
,
lparam
);
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
I
x
\n
"
,
hwnd16
,
msg
,
wparam
,
lparam
);
result
=
CallWindowProc16
(
winproc
,
hwnd16
,
msg
,
wparam
,
lparam
);
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
lx returned %08l
x
\n
"
,
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
Ix returned %08I
x
\n
"
,
hwnd16
,
msg
,
wparam
,
lparam
,
result
);
}
else
/* map to 32-bit unicode for inter-thread/process message */
...
...
@@ -1730,9 +1730,9 @@ LONG WINAPI DispatchMessage16( const MSG16* msg )
SetLastError
(
ERROR_INVALID_WINDOW_HANDLE
);
return
0
;
}
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
l
x
\n
"
,
msg
->
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
);
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
I
x
\n
"
,
msg
->
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
);
retval
=
CallWindowProc16
(
winproc
,
msg
->
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
);
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
lx returned %08l
x
\n
"
,
TRACE_
(
message
)(
"(0x%04x) [%04x] wp=%04x lp=%08
Ix returned %08I
x
\n
"
,
msg
->
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
,
retval
);
return
retval
;
}
...
...
dlls/user.exe16/user.c
View file @
3925f424
...
...
@@ -1619,7 +1619,7 @@ UINT16 WINAPI GetMenuState16( HMENU16 hMenu, UINT16 wItemID, UINT16 wFlags )
LRESULT
WINAPI
SendDriverMessage16
(
HDRVR16
hDriver
,
UINT16
msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
FIXME
(
"(%04x, %04x, %08
lx, %08l
x): stub
\n
"
,
hDriver
,
msg
,
lParam1
,
lParam2
);
FIXME
(
"(%04x, %04x, %08
Ix, %08I
x): stub
\n
"
,
hDriver
,
msg
,
lParam1
,
lParam2
);
return
0
;
}
...
...
@@ -1629,7 +1629,7 @@ LRESULT WINAPI SendDriverMessage16(HDRVR16 hDriver, UINT16 msg, LPARAM lParam1,
*/
HDRVR16
WINAPI
OpenDriver16
(
LPCSTR
lpDriverName
,
LPCSTR
lpSectionName
,
LPARAM
lParam2
)
{
FIXME
(
"(%s, %s, %08
l
x): stub
\n
"
,
debugstr_a
(
lpDriverName
),
debugstr_a
(
lpSectionName
),
lParam2
);
FIXME
(
"(%s, %s, %08
I
x): stub
\n
"
,
debugstr_a
(
lpDriverName
),
debugstr_a
(
lpSectionName
),
lParam2
);
return
0
;
}
...
...
@@ -1639,7 +1639,7 @@ HDRVR16 WINAPI OpenDriver16(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lP
*/
LRESULT
WINAPI
CloseDriver16
(
HDRVR16
hDrvr
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
FIXME
(
"(%04x, %08
lx, %08l
x): stub
\n
"
,
hDrvr
,
lParam1
,
lParam2
);
FIXME
(
"(%04x, %08
Ix, %08I
x): stub
\n
"
,
hDrvr
,
lParam1
,
lParam2
);
return
FALSE
;
}
...
...
@@ -1660,7 +1660,7 @@ HMODULE16 WINAPI GetDriverModuleHandle16(HDRVR16 hDrvr)
LRESULT
WINAPI
DefDriverProc16
(
DWORD
dwDevID
,
HDRVR16
hDriv
,
UINT16
wMsg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
FIXME
(
"devID=0x%08lx hDrv=0x%04x wMsg=%04x lP1=0x%08
lx lP2=0x%08l
x: stub
\n
"
,
FIXME
(
"devID=0x%08lx hDrv=0x%04x wMsg=%04x lP1=0x%08
Ix lP2=0x%08I
x: stub
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
lParam1
,
lParam2
);
return
0
;
}
...
...
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