Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3415f778
Commit
3415f778
authored
Feb 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Change some DWORD to DWORD_PTR in mmddk.h.
This matches the DDK and removes 14 Win64 compile warnings.
parent
5bc9da34
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
15 deletions
+16
-15
audio.c
dlls/wineoss.drv/audio.c
+1
-1
mci.c
dlls/winmm/mci.c
+3
-3
winemm.h
dlls/winmm/winemm.h
+1
-1
winmm.c
dlls/winmm/winmm.c
+1
-1
mmddk.h
include/mmddk.h
+10
-9
No files found.
dlls/wineoss.drv/audio.c
View file @
3415f778
...
...
@@ -1965,7 +1965,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
audio_buf_info
info
;
DWORD
ret
;
TRACE
(
"(%u, %p[cb=%08x], %08X);
\n
"
,
wDevID
,
lpDesc
,
lpDesc
->
dwCallback
,
dwFlags
);
TRACE
(
"(%u, %p[cb=%08
l
x], %08X);
\n
"
,
wDevID
,
lpDesc
,
lpDesc
->
dwCallback
,
dwFlags
);
if
(
lpDesc
==
NULL
)
{
WARN
(
"Invalid Parameter !
\n
"
);
return
MMSYSERR_INVALPARAM
;
...
...
dlls/winmm/mci.c
View file @
3415f778
...
...
@@ -2185,7 +2185,7 @@ BOOL WINAPI mciDriverNotify(HWND hWndCallBack, MCIDEVICEID wDevID, UINT wStatus)
/**************************************************************************
* mciGetDriverData [WINMM.@]
*/
DWORD
WINAPI
mciGetDriverData
(
MCIDEVICEID
uDeviceID
)
DWORD
_PTR
WINAPI
mciGetDriverData
(
MCIDEVICEID
uDeviceID
)
{
LPWINE_MCIDRIVER
wmd
;
...
...
@@ -2204,11 +2204,11 @@ DWORD WINAPI mciGetDriverData(MCIDEVICEID uDeviceID)
/**************************************************************************
* mciSetDriverData [WINMM.@]
*/
BOOL
WINAPI
mciSetDriverData
(
MCIDEVICEID
uDeviceID
,
DWORD
data
)
BOOL
WINAPI
mciSetDriverData
(
MCIDEVICEID
uDeviceID
,
DWORD
_PTR
data
)
{
LPWINE_MCIDRIVER
wmd
;
TRACE
(
"(%04x, %08x)
\n
"
,
uDeviceID
,
data
);
TRACE
(
"(%04x, %08
l
x)
\n
"
,
uDeviceID
,
data
);
wmd
=
MCI_GetDriver
(
uDeviceID
);
...
...
dlls/winmm/winemm.h
View file @
3415f778
...
...
@@ -141,7 +141,7 @@ typedef struct tagWINE_MCIDRIVER {
LPWSTR
lpstrDeviceType
;
LPWSTR
lpstrAlias
;
HDRVR
hDriver
;
DWORD
dwPrivate
;
DWORD_PTR
dwPrivate
;
YIELDPROC
lpfnYieldProc
;
DWORD
dwYieldData
;
BOOL
bIs32
;
...
...
dlls/winmm/winmm.c
View file @
3415f778
...
...
@@ -2096,7 +2096,7 @@ UINT WAVE_Open(HANDLE* lphndl, UINT uDeviceID, UINT uType,
wod
.
dwInstance
=
dwInstance
;
wod
.
dnDevNode
=
0L
;
TRACE
(
"cb=%08x
\n
"
,
wod
.
dwCallback
);
TRACE
(
"cb=%08
l
x
\n
"
,
wod
.
dwCallback
);
for
(;;)
{
if
(
dwFlags
&
WAVE_MAPPED
)
{
...
...
include/mmddk.h
View file @
3415f778
...
...
@@ -389,10 +389,10 @@ typedef struct {
typedef
struct
{
HWAVE
hWave
;
LPWAVEFORMATEX
lpFormat
;
DWORD
dwCallback
;
DWORD
dwInstance
;
DWORD
_PTR
dwCallback
;
DWORD
_PTR
dwInstance
;
UINT
uMappedDeviceID
;
DWORD
dnDevNode
;
DWORD_PTR
dnDevNode
;
}
WAVEOPENDESC
,
*
LPWAVEOPENDESC
;
typedef
struct
{
...
...
@@ -402,9 +402,9 @@ typedef struct {
typedef
struct
{
HMIDI
hMidi
;
DWORD
dwCallback
;
DWORD
dwInstance
;
DWORD
dnDevNode
;
DWORD
_PTR
dwCallback
;
DWORD
_PTR
dwInstance
;
DWORD_PTR
dnDevNode
;
DWORD
cIds
;
MIDIOPENSTRMID
rgIds
;
}
MIDIOPENDESC
,
*
LPMIDIOPENDESC
;
...
...
@@ -415,6 +415,7 @@ typedef struct tMIXEROPENDESC
LPVOID
pReserved0
;
DWORD_PTR
dwCallback
;
DWORD_PTR
dwInstance
;
DWORD_PTR
dnDevNode
;
}
MIXEROPENDESC
,
*
LPMIXEROPENDESC
;
typedef
struct
{
...
...
@@ -433,8 +434,8 @@ typedef struct {
DECL_WINELIB_TYPE_AW
(
MCI_OPEN_DRIVER_PARMS
)
DECL_WINELIB_TYPE_AW
(
LPMCI_OPEN_DRIVER_PARMS
)
DWORD
WINAPI
mciGetDriverData
(
UINT
uDeviceID
);
BOOL
WINAPI
mciSetDriverData
(
UINT
uDeviceID
,
DWORD
dwData
);
DWORD
_PTR
WINAPI
mciGetDriverData
(
UINT
uDeviceID
);
BOOL
WINAPI
mciSetDriverData
(
UINT
uDeviceID
,
DWORD
_PTR
dwData
);
UINT
WINAPI
mciDriverYield
(
UINT
uDeviceID
);
BOOL
WINAPI
mciDriverNotify
(
HWND
hwndCallback
,
UINT
uDeviceID
,
UINT
uStatus
);
...
...
@@ -453,7 +454,7 @@ BOOL WINAPI mciFreeCommandResource(UINT uTable);
BOOL
WINAPI
DriverCallback
(
DWORD_PTR
dwCallBack
,
DWORD
uFlags
,
HDRVR
hDev
,
DWORD
wMsg
,
DWORD_PTR
dwUser
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
);
typedef
VOID
(
*
LPTASKCALLBACK
)(
DWORD
dwInst
);
typedef
VOID
(
*
LPTASKCALLBACK
)(
DWORD
_PTR
dwInst
);
#define TASKERR_NOTASKSUPPORT 1
#define TASKERR_OUTOFMEMORY 2
...
...
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