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
6368a46a
Commit
6368a46a
authored
Dec 09, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmsystem: Consistently use %I printf format for ULONG_PTR values.
parent
e2b8fad7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
driver.c
dlls/mmsystem.dll16/driver.c
+7
-7
mci16.c
dlls/mmsystem.dll16/mci16.c
+1
-1
message16.c
dlls/mmsystem.dll16/message16.c
+7
-7
mmsystem.c
dlls/mmsystem.dll16/mmsystem.c
+1
-1
No files found.
dlls/mmsystem.dll16/driver.c
View file @
6368a46a
...
...
@@ -97,7 +97,7 @@ static inline LRESULT DRIVER_SendMessage(LPWINE_DRIVER lpDrv, UINT16 msg,
WORD
args
[
8
];
DWORD
ret
;
TRACE
(
"Before CallDriverProc proc=%p driverID=%08lx wMsg=%04x p1=%08
lx p2=%08l
x
\n
"
,
TRACE
(
"Before CallDriverProc proc=%p driverID=%08lx wMsg=%04x p1=%08
Ix p2=%08I
x
\n
"
,
lpDrv
->
lpDrvProc
,
lpDrv
->
dwDriverID
,
msg
,
lParam1
,
lParam2
);
args
[
7
]
=
HIWORD
(
lpDrv
->
dwDriverID
);
...
...
@@ -120,7 +120,7 @@ LRESULT WINAPI DrvSendMessage16(HDRVR16 hDriver, UINT16 msg, LPARAM lParam1, LPA
LPWINE_DRIVER
lpDrv
;
LRESULT
retval
=
0
;
TRACE
(
"(%04x, %04X, %08
lX, %08lX
)
\n
"
,
hDriver
,
msg
,
lParam1
,
lParam2
);
TRACE
(
"(%04x, %04X, %08
Ix, %08Ix
)
\n
"
,
hDriver
,
msg
,
lParam1
,
lParam2
);
if
((
lpDrv
=
DRIVER_FindFromHDrvr16
(
hDriver
))
!=
NULL
)
{
retval
=
DRIVER_SendMessage
(
lpDrv
,
msg
,
lParam1
,
lParam2
);
...
...
@@ -128,7 +128,7 @@ LRESULT WINAPI DrvSendMessage16(HDRVR16 hDriver, UINT16 msg, LPARAM lParam1, LPA
WARN
(
"Bad driver handle %u
\n
"
,
hDriver
);
}
TRACE
(
"retval = %
l
d
\n
"
,
retval
);
TRACE
(
"retval = %
I
d
\n
"
,
retval
);
return
retval
;
}
...
...
@@ -211,7 +211,7 @@ static LPWINE_DRIVER DRIVER_TryOpenDriver16(LPSTR lpFileName, LPARAM lParam2)
DRIVERPROC16
lpProc
;
LPSTR
ptr
;
TRACE
(
"('%s', %08
lX
);
\n
"
,
lpFileName
,
lParam2
);
TRACE
(
"('%s', %08
Ix
);
\n
"
,
lpFileName
,
lParam2
);
if
(
strlen
(
lpFileName
)
<
1
)
return
lpDrv
;
...
...
@@ -252,7 +252,7 @@ HDRVR16 WINAPI DrvOpen16(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lPara
LPWINE_DRIVER
lpDrv
=
NULL
;
char
drvName
[
128
];
TRACE
(
"(%s, %s, %08
lX
);
\n
"
,
debugstr_a
(
lpDriverName
),
debugstr_a
(
lpSectionName
),
lParam2
);
TRACE
(
"(%s, %s, %08
Ix
);
\n
"
,
debugstr_a
(
lpDriverName
),
debugstr_a
(
lpSectionName
),
lParam2
);
if
(
!
lpDriverName
||
!*
lpDriverName
)
return
0
;
...
...
@@ -284,7 +284,7 @@ LRESULT WINAPI DrvClose16(HDRVR16 hDrvr, LPARAM lParam1, LPARAM lParam2)
{
LPWINE_DRIVER
lpDrv
;
TRACE
(
"(%04x, %08
lX, %08lX
);
\n
"
,
hDrvr
,
lParam1
,
lParam2
);
TRACE
(
"(%04x, %08
Ix, %08Ix
);
\n
"
,
hDrvr
,
lParam1
,
lParam2
);
if
((
lpDrv
=
DRIVER_FindFromHDrvr16
(
hDrvr
))
!=
NULL
)
{
DRIVER_SendMessage
(
lpDrv
,
DRV_CLOSE
,
lParam1
,
lParam2
);
...
...
@@ -321,7 +321,7 @@ HMODULE16 WINAPI DrvGetModuleHandle16(HDRVR16 hDrvr)
LRESULT
WINAPI
DrvDefDriverProc16
(
DWORD
dwDevID
,
HDRVR16
hDriv
,
UINT16
wMsg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
TRACE
(
"devID=0x%08lx hDrv=0x%04x wMsg=%04x lP1=0x%08
lx lP2=0x%08l
x
\n
"
,
TRACE
(
"devID=0x%08lx hDrv=0x%04x wMsg=%04x lP1=0x%08
Ix lP2=0x%08I
x
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
lParam1
,
lParam2
);
switch
(
wMsg
)
{
...
...
dlls/mmsystem.dll16/mci16.c
View file @
6368a46a
...
...
@@ -680,7 +680,7 @@ DWORD WINAPI mciSendCommand16(UINT16 wDevID, UINT16 wMsg, DWORD dwParam1, DWORD
BOOL
to32
;
DWORD_PTR
dwParam2
=
p2
;
TRACE
(
"(%04X, %s, %08l
X, %08lX
)
\n
"
,
wDevID
,
MCI_MessageToString
(
wMsg
),
dwParam1
,
dwParam2
);
TRACE
(
"(%04X, %s, %08l
x, %08Ix
)
\n
"
,
wDevID
,
MCI_MessageToString
(
wMsg
),
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
case
MCI_CLOSE
:
...
...
dlls/mmsystem.dll16/message16.c
View file @
6368a46a
...
...
@@ -217,7 +217,7 @@ static MMSYSTEM_MapType MMSYSTDRV_MidiOut_Map16To32W (DWORD wMsg, DWORD_PTR* lp
case
MODM_CACHEPATCHES
:
case
MODM_CACHEDRUMPATCHES
:
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -284,7 +284,7 @@ static MMSYSTEM_MapType MMSYSTDRV_MidiOut_UnMap16To32W(DWORD wMsg, DWORD_PTR* l
case
MODM_CACHEPATCHES
:
case
MODM_CACHEDRUMPATCHES
:
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -427,7 +427,7 @@ static MMSYSTEM_MapType MMSYSTDRV_WaveIn_Map16To32W (DWORD wMsg, DWORD_PTR* lp
ret
=
MMSYSTEM_MAP_OK
;
break
;
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -497,7 +497,7 @@ static MMSYSTEM_MapType MMSYSTDRV_WaveIn_UnMap16To32W(DWORD wMsg, DWORD_PTR* lp
}
break
;
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -646,7 +646,7 @@ static MMSYSTEM_MapType MMSYSTDRV_WaveOut_Map16To32W (DWORD wMsg, DWORD_PTR* l
ret
=
MMSYSTEM_MAP_OK
;
break
;
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -726,7 +726,7 @@ static MMSYSTEM_MapType MMSYSTDRV_WaveOut_UnMap16To32W(DWORD wMsg, DWORD_PTR* l
}
break
;
default:
FIXME
(
"NIY: no conversion yet for %lu [%
lx,%l
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
FIXME
(
"NIY: no conversion yet for %lu [%
Ix,%I
x]
\n
"
,
wMsg
,
*
lpParam1
,
*
lpParam2
);
break
;
}
return
ret
;
...
...
@@ -980,7 +980,7 @@ DWORD MMSYSTDRV_Message(void* h, UINT msg, DWORD_PTR param1, DWORD_PTR param2)
break
;
case
MMSYSTEM_MAP_OK
:
case
MMSYSTEM_MAP_OKMEM
:
TRACE
(
"Calling message(msg=%u p1=0x%08
lx p2=0x%08l
x)
\n
"
,
TRACE
(
"Calling message(msg=%u p1=0x%08
Ix p2=0x%08I
x)
\n
"
,
msg
,
param1
,
param2
);
switch
(
thunk
->
kind
)
{
...
...
dlls/mmsystem.dll16/mmsystem.c
View file @
6368a46a
...
...
@@ -2026,7 +2026,7 @@ LRESULT WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl, DWORD
if
(
lpHndl
)
*
lpHndl
=
hndl
;
TRACE
(
"ok => %
l
d
\n
"
,
ret
);
TRACE
(
"ok => %
I
d
\n
"
,
ret
);
return
ret
;
}
...
...
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