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
8140d66c
Commit
8140d66c
authored
Nov 28, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix all drivers DriverProc to conform to the DRIVERPROC definition.
parent
43d85553
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
118 additions
and
121 deletions
+118
-121
iccvid.c
dlls/iccvid/iccvid.c
+1
-1
iccvid.spec
dlls/iccvid/iccvid.spec
+1
-1
mciavi.c
dlls/mciavi32/mciavi.c
+5
-5
mcicda.c
dlls/mcicda/mcicda.c
+4
-4
mcimidi.c
dlls/mciseq/mcimidi.c
+5
-5
midimap.c
dlls/midimap/midimap.c
+4
-4
imaadp32.c
dlls/msacm/imaadp32/imaadp32.c
+5
-5
msadp32.c
dlls/msacm/msadp32/msadp32.c
+3
-3
msg711.c
dlls/msacm/msg711/msg711.c
+3
-3
pcmconverter.c
dlls/msacm/pcmconverter.c
+1
-1
mpegl3.c
dlls/msacm/winemp3/mpegl3.c
+5
-5
msrle32.c
dlls/msrle32/msrle32.c
+1
-1
msvidc32.spec
dlls/msvidc32/msvidc32.spec
+1
-1
msvideo1.c
dlls/msvidc32/msvideo1.c
+1
-1
joystick.c
dlls/winmm/joystick/joystick.c
+13
-13
mciwave.c
dlls/winmm/mciwave/mciwave.c
+27
-27
wavemap.c
dlls/winmm/wavemap/wavemap.c
+7
-7
alsa.c
dlls/winmm/winealsa/alsa.c
+4
-4
arts.c
dlls/winmm/winearts/arts.c
+4
-4
audioio.c
dlls/winmm/wineaudioio/audioio.c
+4
-4
esound.c
dlls/winmm/wineesd/esound.c
+4
-4
jack.c
dlls/winmm/winejack/jack.c
+6
-6
winemm.h
dlls/winmm/winemm.h
+1
-4
nas.c
dlls/winmm/winenas/nas.c
+4
-4
oss.c
dlls/winmm/wineoss/oss.c
+4
-4
No files found.
dlls/iccvid/iccvid.c
View file @
8140d66c
...
...
@@ -931,7 +931,7 @@ static LRESULT ICCVID_GetInfo( ICCVID_Info *info, ICINFO *icinfo, DWORD dwSize )
return
sizeof
(
ICINFO
);
}
LRESULT
WINAPI
ICCVID_DriverProc
(
DWORD
dwDriverId
,
HDRVR
hdrvr
,
UINT
msg
,
LRESULT
WINAPI
ICCVID_DriverProc
(
DWORD
_PTR
dwDriverId
,
HDRVR
hdrvr
,
UINT
msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
ICCVID_Info
*
info
=
(
ICCVID_Info
*
)
dwDriverId
;
...
...
dlls/iccvid/iccvid.spec
View file @
8140d66c
@ stdcall -private DriverProc(long
ptr
long long long) ICCVID_DriverProc
@ stdcall -private DriverProc(long
long
long long long) ICCVID_DriverProc
dlls/mciavi32/mciavi.c
View file @
8140d66c
...
...
@@ -1197,10 +1197,10 @@ static DWORD MCIAVI_mciRestore(UINT wDevID, DWORD dwFlags, LPMCI_DGV_RESTORE_PAR
/**************************************************************************
* DriverProc (MCIAVI.@)
*/
L
ONG
CALLBACK
MCIAVI_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
MCIAVI_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lX, %p, %08
l
X, %08lX, %08lX)
\n
"
,
TRACE
(
"(%08lX, %p, %08X, %08lX, %08lX)
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
...
...
@@ -1262,14 +1262,14 @@ LONG CALLBACK MCIAVI_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
case
MCI_SPIN
:
case
MCI_ESCAPE
:
WARN
(
"Unsupported command [%
l
u]
\n
"
,
wMsg
);
WARN
(
"Unsupported command [%u]
\n
"
,
wMsg
);
break
;
case
MCI_OPEN
:
case
MCI_CLOSE
:
FIXME
(
"Shouldn't receive a MCI_OPEN or CLOSE message
\n
"
);
break
;
default:
TRACE
(
"Sending msg [%
l
u] to default driver proc
\n
"
,
wMsg
);
TRACE
(
"Sending msg [%u] to default driver proc
\n
"
,
wMsg
);
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
}
return
MCIERR_UNRECOGNIZED_COMMAND
;
...
...
dlls/mcicda/mcicda.c
View file @
8140d66c
...
...
@@ -988,8 +988,8 @@ static DWORD MCICDA_Set(UINT wDevID, DWORD dwFlags, LPMCI_SET_PARMS lpParms)
/**************************************************************************
* DriverProc (MCICDA.@)
*/
L
ONG
CALLBACK
MCICDA_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
MCICDA_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
switch
(
wMsg
)
{
case
DRV_LOAD
:
return
1
;
...
...
@@ -1038,14 +1038,14 @@ LONG CALLBACK MCICDA_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
case
MCI_DELETE
:
case
MCI_PASTE
:
case
MCI_WINDOW
:
TRACE
(
"Unsupported command [0x%
l
x]
\n
"
,
wMsg
);
TRACE
(
"Unsupported command [0x%x]
\n
"
,
wMsg
);
break
;
case
MCI_OPEN
:
case
MCI_CLOSE
:
ERR
(
"Shouldn't receive a MCI_OPEN or CLOSE message
\n
"
);
break
;
default:
TRACE
(
"Sending msg [0x%
l
x] to default driver proc
\n
"
,
wMsg
);
TRACE
(
"Sending msg [0x%x] to default driver proc
\n
"
,
wMsg
);
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
}
return
MCIERR_UNRECOGNIZED_COMMAND
;
...
...
dlls/mciseq/mcimidi.c
View file @
8140d66c
...
...
@@ -1647,8 +1647,8 @@ static DWORD MIDI_mciSeek(UINT wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms)
/**************************************************************************
* DriverProc (MCISEQ.@)
*/
L
ONG
CALLBACK
MCIMIDI_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
MCIMIDI_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
switch
(
wMsg
)
{
case
DRV_LOAD
:
return
1
;
...
...
@@ -1694,18 +1694,18 @@ LONG CALLBACK MCIMIDI_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
case
MCI_CUT
:
case
MCI_DELETE
:
case
MCI_PASTE
:
WARN
(
"Unsupported command [%
l
u]
\n
"
,
wMsg
);
WARN
(
"Unsupported command [%u]
\n
"
,
wMsg
);
break
;
/* commands that should report an error */
case
MCI_WINDOW
:
TRACE
(
"Unsupported command [%
l
u]
\n
"
,
wMsg
);
TRACE
(
"Unsupported command [%u]
\n
"
,
wMsg
);
break
;
case
MCI_OPEN
:
case
MCI_CLOSE
:
FIXME
(
"Shouldn't receive a MCI_OPEN or CLOSE message
\n
"
);
break
;
default:
TRACE
(
"Sending msg [%
l
u] to default driver proc
\n
"
,
wMsg
);
TRACE
(
"Sending msg [%u] to default driver proc
\n
"
,
wMsg
);
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
}
return
MCIERR_UNRECOGNIZED_COMMAND
;
...
...
dlls/midimap/midimap.c
View file @
8140d66c
...
...
@@ -490,7 +490,7 @@ DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
/**************************************************************************
* MIDIMAP_drvOpen [internal]
*/
static
DWORD
MIDIMAP_drvOpen
(
LPSTR
str
)
static
LRESULT
MIDIMAP_drvOpen
(
LPSTR
str
)
{
MIDIOUTCAPSW
moc
;
unsigned
dev
,
i
;
...
...
@@ -525,7 +525,7 @@ static DWORD MIDIMAP_drvOpen(LPSTR str)
/**************************************************************************
* MIDIMAP_drvClose [internal]
*/
static
DWORD
MIDIMAP_drvClose
(
DWORD
dwDevID
)
static
LRESULT
MIDIMAP_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
midiOutPorts
)
{
...
...
@@ -539,8 +539,8 @@ static DWORD MIDIMAP_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (MIDIMAP.@)
*/
L
ONG
CALLBACK
MIDIMAP_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
MIDIMAP_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/msacm/imaadp32/imaadp32.c
View file @
8140d66c
...
...
@@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(adpcm);
/***********************************************************************
* ADPCM_drvOpen
*/
static
DWORD
ADPCM_drvOpen
(
LPCSTR
str
)
static
LRESULT
ADPCM_drvOpen
(
LPCSTR
str
)
{
return
1
;
}
...
...
@@ -48,7 +48,7 @@ static DWORD ADPCM_drvOpen(LPCSTR str)
/***********************************************************************
* ADPCM_drvClose
*/
static
DWORD
ADPCM_drvClose
(
DWORD
dwDevID
)
static
LRESULT
ADPCM_drvClose
(
DWORD_PTR
dwDevID
)
{
return
1
;
}
...
...
@@ -870,11 +870,11 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
/**************************************************************************
* ADPCM_DriverProc [exported]
*/
LRESULT
CALLBACK
ADPCM_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LRESULT
CALLBACK
ADPCM_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lx %
08lx
%04x %08lx %08lx);
\n
"
,
dwDevID
,
(
DWORD
)
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
TRACE
(
"(%08lx %
p
%04x %08lx %08lx);
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
...
...
dlls/msacm/msadp32/msadp32.c
View file @
8140d66c
...
...
@@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(adpcm);
/***********************************************************************
* ADPCM_drvOpen
*/
static
DWORD
ADPCM_drvOpen
(
LPCSTR
str
)
static
LRESULT
ADPCM_drvOpen
(
LPCSTR
str
)
{
return
1
;
}
...
...
@@ -48,7 +48,7 @@ static DWORD ADPCM_drvOpen(LPCSTR str)
/***********************************************************************
* ADPCM_drvClose
*/
static
DWORD
ADPCM_drvClose
(
DWORD
dwDevID
)
static
LRESULT
ADPCM_drvClose
(
DWORD_PTR
dwDevID
)
{
return
1
;
}
...
...
@@ -713,7 +713,7 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
/**************************************************************************
* ADPCM_DriverProc [exported]
*/
LRESULT
CALLBACK
ADPCM_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LRESULT
CALLBACK
ADPCM_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lx %p %04x %08lx %08lx);
\n
"
,
...
...
dlls/msacm/msg711/msg711.c
View file @
8140d66c
...
...
@@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(g711);
/***********************************************************************
* G711_drvOpen
*/
static
DWORD
G711_drvOpen
(
LPCSTR
str
)
static
LRESULT
G711_drvOpen
(
LPCSTR
str
)
{
return
1
;
}
...
...
@@ -46,7 +46,7 @@ static DWORD G711_drvOpen(LPCSTR str)
/***********************************************************************
* G711_drvClose
*/
static
DWORD
G711_drvClose
(
DWORD
dwDevID
)
static
LRESULT
G711_drvClose
(
DWORD_PTR
dwDevID
)
{
return
1
;
}
...
...
@@ -1097,7 +1097,7 @@ static LRESULT G711_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADE
/**************************************************************************
* G711_DriverProc [exported]
*/
LRESULT
CALLBACK
G711_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LRESULT
CALLBACK
G711_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lx %p %04x %08lx %08lx);
\n
"
,
...
...
dlls/msacm/pcmconverter.c
View file @
8140d66c
...
...
@@ -1022,7 +1022,7 @@ static LRESULT PCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADER
/**************************************************************************
* DriverProc (MSACM32.@)
*/
LRESULT
CALLBACK
PCM_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LRESULT
CALLBACK
PCM_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lx %p %u %08lx %08lx);
\n
"
,
...
...
dlls/msacm/winemp3/mpegl3.c
View file @
8140d66c
...
...
@@ -41,7 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mpeg3);
/***********************************************************************
* MPEG3_drvOpen
*/
static
DWORD
MPEG3_drvOpen
(
LPCSTR
str
)
static
LRESULT
MPEG3_drvOpen
(
LPCSTR
str
)
{
return
1
;
}
...
...
@@ -49,7 +49,7 @@ static DWORD MPEG3_drvOpen(LPCSTR str)
/***********************************************************************
* MPEG3_drvClose
*/
static
DWORD
MPEG3_drvClose
(
DWORD
dwDevID
)
static
LRESULT
MPEG3_drvClose
(
DWORD_PTR
dwDevID
)
{
return
1
;
}
...
...
@@ -542,11 +542,11 @@ static LRESULT MPEG3_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
/**************************************************************************
* MPEG3_DriverProc [exported]
*/
LRESULT
CALLBACK
MPEG3_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LRESULT
CALLBACK
MPEG3_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lx %
08lx
%04x %08lx %08lx);
\n
"
,
dwDevID
,
(
DWORD
)
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
TRACE
(
"(%08lx %
p
%04x %08lx %08lx);
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
...
...
dlls/msrle32/msrle32.c
View file @
8140d66c
...
...
@@ -1772,7 +1772,7 @@ static LRESULT DecompressGetPalette(CodecInfo *pi, LPCBITMAPINFOHEADER lpbiIn,
}
/* DriverProc - entry point for an installable driver */
LRESULT
CALLBACK
MSRLE32_DriverProc
(
DWORD
dwDrvID
,
HDRVR
hDrv
,
UINT
uMsg
,
LRESULT
CALLBACK
MSRLE32_DriverProc
(
DWORD
_PTR
dwDrvID
,
HDRVR
hDrv
,
UINT
uMsg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
CodecInfo
*
pi
=
(
CodecInfo
*
)
dwDrvID
;
...
...
dlls/msvidc32/msvidc32.spec
View file @
8140d66c
@ stdcall -private DriverProc(long
ptr
long long long) CRAM_DriverProc
@ stdcall -private DriverProc(long
long
long long long) CRAM_DriverProc
dlls/msvidc32/msvideo1.c
View file @
8140d66c
...
...
@@ -478,7 +478,7 @@ static LRESULT CRAM_GetInfo( Msvideo1Context *info, ICINFO *icinfo, DWORD dwSize
/***********************************************************************
* DriverProc (MSVIDC32.@)
*/
LRESULT
WINAPI
CRAM_DriverProc
(
DWORD
dwDriverId
,
HDRVR
hdrvr
,
UINT
msg
,
LRESULT
WINAPI
CRAM_DriverProc
(
DWORD
_PTR
dwDriverId
,
HDRVR
hdrvr
,
UINT
msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
Msvideo1Context
*
info
=
(
Msvideo1Context
*
)
dwDriverId
;
...
...
dlls/winmm/joystick/joystick.c
View file @
8140d66c
...
...
@@ -104,13 +104,13 @@ static WINE_JSTCK JSTCK_Data[MAXJOYSTICK];
/**************************************************************************
* JSTCK_drvGet [internal]
*/
static
WINE_JSTCK
*
JSTCK_drvGet
(
DWORD
dwDevID
)
static
WINE_JSTCK
*
JSTCK_drvGet
(
DWORD_PTR
dwDevID
)
{
int
p
;
if
((
dwDevID
-
(
DWORD
)
JSTCK_Data
)
%
sizeof
(
JSTCK_Data
[
0
])
!=
0
)
if
((
dwDevID
-
(
DWORD
_PTR
)
JSTCK_Data
)
%
sizeof
(
JSTCK_Data
[
0
])
!=
0
)
return
NULL
;
p
=
(
dwDevID
-
(
DWORD
)
JSTCK_Data
)
/
sizeof
(
JSTCK_Data
[
0
]);
p
=
(
dwDevID
-
(
DWORD
_PTR
)
JSTCK_Data
)
/
sizeof
(
JSTCK_Data
[
0
]);
if
(
p
<
0
||
p
>=
MAXJOYSTICK
||
!
((
WINE_JSTCK
*
)
dwDevID
)
->
in_use
)
return
NULL
;
...
...
@@ -120,20 +120,20 @@ static WINE_JSTCK* JSTCK_drvGet(DWORD dwDevID)
/**************************************************************************
* JSTCK_drvOpen [internal]
*/
static
DWORD
JSTCK_drvOpen
(
LPSTR
str
,
DWORD
dwIntf
)
static
LRESULT
JSTCK_drvOpen
(
LPSTR
str
,
DWORD
dwIntf
)
{
if
(
dwIntf
>=
MAXJOYSTICK
||
JSTCK_Data
[
dwIntf
].
in_use
)
return
0
;
JSTCK_Data
[
dwIntf
].
joyIntf
=
dwIntf
;
JSTCK_Data
[
dwIntf
].
in_use
=
1
;
return
(
DWORD
)
&
JSTCK_Data
[
dwIntf
];
return
(
LRESULT
)
&
JSTCK_Data
[
dwIntf
];
}
/**************************************************************************
* JSTCK_drvClose [internal]
*/
static
DWORD
JSTCK_drvClose
(
DWORD
dwDevID
)
static
LRESULT
JSTCK_drvClose
(
DWORD_PTR
dwDevID
)
{
WINE_JSTCK
*
jstck
=
JSTCK_drvGet
(
dwDevID
);
...
...
@@ -179,7 +179,7 @@ static int JSTCK_OpenDevice(WINE_JSTCK* jstick)
/**************************************************************************
* JoyGetDevCaps [MMSYSTEM.102]
*/
static
LONG
JSTCK_GetDevCaps
(
DWORD
dwDevID
,
LPJOYCAPSW
lpCaps
,
DWORD
dwSize
)
static
LRESULT
JSTCK_GetDevCaps
(
DWORD_PTR
dwDevID
,
LPJOYCAPSW
lpCaps
,
DWORD
dwSize
)
{
WINE_JSTCK
*
jstck
;
#ifdef HAVE_LINUX_22_JOYSTICK_API
...
...
@@ -285,7 +285,7 @@ static const WCHAR ini[] = {'W','i','n','e',' ','J','o','y','s','t','i','c','k',
/**************************************************************************
* JSTCK_GetPos [internal]
*/
static
L
ONG
JSTCK_GetPosEx
(
DWORD
dwDevID
,
LPJOYINFOEX
lpInfo
)
static
L
RESULT
JSTCK_GetPosEx
(
DWORD_PTR
dwDevID
,
LPJOYINFOEX
lpInfo
)
{
WINE_JSTCK
*
jstck
;
int
dev
;
...
...
@@ -407,7 +407,7 @@ static LONG JSTCK_GetPosEx(DWORD dwDevID, LPJOYINFOEX lpInfo)
/**************************************************************************
* JSTCK_GetPos [internal]
*/
static
L
ONG
JSTCK_GetPos
(
DWORD
dwDevID
,
LPJOYINFO
lpInfo
)
static
L
RESULT
JSTCK_GetPos
(
DWORD_PTR
dwDevID
,
LPJOYINFO
lpInfo
)
{
JOYINFOEX
ji
;
LONG
ret
;
...
...
@@ -430,8 +430,8 @@ static LONG JSTCK_GetPos(DWORD dwDevID, LPJOYINFO lpInfo)
/**************************************************************************
* DriverProc (JOYSTICK.@)
*/
L
ONG
CALLBACK
JSTCK_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
JSTCK_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
@@ -464,8 +464,8 @@ LONG CALLBACK JSTCK_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
/**************************************************************************
* DriverProc (JOYSTICK.@)
*/
L
ONG
CALLBACK
JSTCK_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
JSTCK_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/mciwave/mciwave.c
View file @
8140d66c
...
...
@@ -136,7 +136,7 @@ static DWORD WAVE_mciResume(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPa
/**************************************************************************
* MCIWAVE_drvOpen [internal]
*/
static
DWORD
WAVE_drvOpen
(
LPCWSTR
str
,
LPMCI_OPEN_DRIVER_PARMSW
modp
)
static
LRESULT
WAVE_drvOpen
(
LPCWSTR
str
,
LPMCI_OPEN_DRIVER_PARMSW
modp
)
{
WINE_MCIWAVE
*
wmw
;
...
...
@@ -166,7 +166,7 @@ static DWORD WAVE_drvOpen(LPCWSTR str, LPMCI_OPEN_DRIVER_PARMSW modp)
/**************************************************************************
* MCIWAVE_drvClose [internal]
*/
static
DWORD
WAVE_drvClose
(
DWOR
D
dwDevID
)
static
LRESULT
WAVE_drvClose
(
MCIDEVICEI
D
dwDevID
)
{
WINE_MCIWAVE
*
wmw
=
(
WINE_MCIWAVE
*
)
mciGetDriverData
(
dwDevID
);
...
...
@@ -181,7 +181,7 @@ static DWORD WAVE_drvClose(DWORD dwDevID)
/**************************************************************************
* WAVE_mciGetOpenDev [internal]
*/
static
WINE_MCIWAVE
*
WAVE_mciGetOpenDev
(
UINT
wDevID
)
static
WINE_MCIWAVE
*
WAVE_mciGetOpenDev
(
MCIDEVICEID
wDevID
)
{
WINE_MCIWAVE
*
wmw
=
(
WINE_MCIWAVE
*
)
mciGetDriverData
(
wDevID
);
...
...
@@ -346,7 +346,7 @@ err:
/**************************************************************************
* WAVE_mciOpen [internal]
*/
static
DWORD
WAVE_mciOpen
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_WAVE_OPEN_PARMSW
lpOpenParms
)
static
LRESULT
WAVE_mciOpen
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_WAVE_OPEN_PARMSW
lpOpenParms
)
{
DWORD
dwRet
=
0
;
WINE_MCIWAVE
*
wmw
=
(
WINE_MCIWAVE
*
)
mciGetDriverData
(
wDevID
);
...
...
@@ -510,7 +510,7 @@ static DWORD WAVE_mciOpen(UINT wDevID, DWORD dwFlags, LPMCI_WAVE_OPEN_PARMSW lpO
/**************************************************************************
* WAVE_mciCue [internal]
*/
static
DWORD
WAVE_mciCue
(
UINT
wDevID
,
DWORD
dwParam
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
WAVE_mciCue
(
MCIDEVICEID
wDevID
,
LPARAM
dwParam
,
LPMCI_GENERIC_PARMS
lpParms
)
{
/*
FIXME
...
...
@@ -554,7 +554,7 @@ static DWORD WAVE_mciCue(UINT wDevID, DWORD dwParam, LPMCI_GENERIC_PARMS lpParms
/**************************************************************************
* WAVE_mciStop [internal]
*/
static
DWORD
WAVE_mciStop
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
WAVE_mciStop
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
{
DWORD
dwRet
=
0
;
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -595,7 +595,7 @@ static DWORD WAVE_mciStop(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParm
/**************************************************************************
* WAVE_mciClose [internal]
*/
static
DWORD
WAVE_mciClose
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
WAVE_mciClose
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
{
DWORD
dwRet
=
0
;
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -643,8 +643,8 @@ static DWORD WAVE_mciClose(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPar
* WAVE_mciPlayCallback [internal]
*/
static
void
CALLBACK
WAVE_mciPlayCallback
(
HWAVEOUT
hwo
,
UINT
uMsg
,
DWORD
dwInstance
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD
_PTR
dwInstance
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
WINE_MCIWAVE
*
wmw
=
(
WINE_MCIWAVE
*
)
dwInstance
;
...
...
@@ -683,7 +683,7 @@ static void WAVE_mciPlayWaitDone(WINE_MCIWAVE* wmw)
/**************************************************************************
* WAVE_mciPlay [internal]
*/
static
DWORD
WAVE_mciPlay
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_PLAY_PARMS
lpParms
)
static
DWORD
WAVE_mciPlay
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_PLAY_PARMS
lpParms
)
{
DWORD
end
;
LONG
bufsize
,
count
,
left
;
...
...
@@ -877,8 +877,8 @@ cleanUp:
* WAVE_mciPlayCallback [internal]
*/
static
void
CALLBACK
WAVE_mciRecordCallback
(
HWAVEOUT
hwo
,
UINT
uMsg
,
DWORD
dwInstance
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD
_PTR
dwInstance
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
WINE_MCIWAVE
*
wmw
=
(
WINE_MCIWAVE
*
)
dwInstance
;
LPWAVEHDR
lpWaveHdr
;
...
...
@@ -936,7 +936,7 @@ static void WAVE_mciRecordWaitDone(WINE_MCIWAVE* wmw)
/**************************************************************************
* WAVE_mciRecord [internal]
*/
static
DWORD
WAVE_mciRecord
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_RECORD_PARMS
lpParms
)
static
DWORD
WAVE_mciRecord
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_RECORD_PARMS
lpParms
)
{
DWORD
end
;
DWORD
dwRet
=
MMSYSERR_NOERROR
;
...
...
@@ -1104,7 +1104,7 @@ cleanUp:
/**************************************************************************
* WAVE_mciPause [internal]
*/
static
DWORD
WAVE_mciPause
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
WAVE_mciPause
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
{
DWORD
dwRet
;
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -1127,7 +1127,7 @@ static DWORD WAVE_mciPause(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPar
/**************************************************************************
* WAVE_mciResume [internal]
*/
static
DWORD
WAVE_mciResume
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
WAVE_mciResume
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
{
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
DWORD
dwRet
=
0
;
...
...
@@ -1148,7 +1148,7 @@ static DWORD WAVE_mciResume(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPa
/**************************************************************************
* WAVE_mciSeek [internal]
*/
static
DWORD
WAVE_mciSeek
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_SEEK_PARMS
lpParms
)
static
DWORD
WAVE_mciSeek
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_SEEK_PARMS
lpParms
)
{
DWORD
ret
=
0
;
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -1186,7 +1186,7 @@ static DWORD WAVE_mciSeek(UINT wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms)
/**************************************************************************
* WAVE_mciSet [internal]
*/
static
DWORD
WAVE_mciSet
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_SET_PARMS
lpParms
)
static
DWORD
WAVE_mciSet
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_SET_PARMS
lpParms
)
{
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -1282,7 +1282,7 @@ static DWORD WAVE_mciSet(UINT wDevID, DWORD dwFlags, LPMCI_SET_PARMS lpParms)
/**************************************************************************
* WAVE_mciSave [internal]
*/
static
DWORD
WAVE_mciSave
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_SAVE_PARMSW
lpParms
)
static
DWORD
WAVE_mciSave
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_SAVE_PARMSW
lpParms
)
{
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
DWORD
ret
=
MCIERR_FILE_NOT_SAVED
,
tmpRet
;
...
...
@@ -1333,7 +1333,7 @@ static DWORD WAVE_mciSave(UINT wDevID, DWORD dwFlags, LPMCI_SAVE_PARMSW lpParms)
/**************************************************************************
* WAVE_mciStatus [internal]
*/
static
DWORD
WAVE_mciStatus
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_STATUS_PARMS
lpParms
)
static
DWORD
WAVE_mciStatus
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_STATUS_PARMS
lpParms
)
{
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
DWORD
ret
=
0
;
...
...
@@ -1479,7 +1479,7 @@ static DWORD WAVE_mciStatus(UINT wDevID, DWORD dwFlags, LPMCI_STATUS_PARMS lpPar
/**************************************************************************
* WAVE_mciGetDevCaps [internal]
*/
static
DWORD
WAVE_mciGetDevCaps
(
UINT
wDevID
,
DWORD
dwFlags
,
static
DWORD
WAVE_mciGetDevCaps
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_GETDEVCAPS_PARMS
lpParms
)
{
WINE_MCIWAVE
*
wmw
=
WAVE_mciGetOpenDev
(
wDevID
);
...
...
@@ -1548,7 +1548,7 @@ static DWORD WAVE_mciGetDevCaps(UINT wDevID, DWORD dwFlags,
/**************************************************************************
* WAVE_mciInfo [internal]
*/
static
DWORD
WAVE_mciInfo
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_INFO_PARMSW
lpParms
)
static
DWORD
WAVE_mciInfo
(
MCIDEVICEID
wDevID
,
DWORD
dwFlags
,
LPMCI_INFO_PARMSW
lpParms
)
{
DWORD
ret
=
0
;
LPCWSTR
str
=
0
;
...
...
@@ -1593,10 +1593,10 @@ static DWORD WAVE_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_INFO_PARMSW lpParms)
/**************************************************************************
* DriverProc (MCIWAVE.@)
*/
L
ONG
CALLBACK
MCIWAVE_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
MCIWAVE_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lX, %p, %08
l
X, %08lX, %08lX)
\n
"
,
TRACE
(
"(%08lX, %p, %08X, %08lX, %08lX)
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
...
...
@@ -1644,10 +1644,10 @@ LONG CALLBACK MCIWAVE_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
case
MCI_CUT
:
case
MCI_DELETE
:
case
MCI_PASTE
:
FIXME
(
"Unsupported yet command [%
l
u]
\n
"
,
wMsg
);
FIXME
(
"Unsupported yet command [%u]
\n
"
,
wMsg
);
break
;
case
MCI_WINDOW
:
TRACE
(
"Unsupported command [%
l
u]
\n
"
,
wMsg
);
TRACE
(
"Unsupported command [%u]
\n
"
,
wMsg
);
break
;
/* option which can be silenced */
case
MCI_CONFIGURE
:
...
...
@@ -1657,7 +1657,7 @@ LONG CALLBACK MCIWAVE_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
ERR
(
"Shouldn't receive a MCI_OPEN or CLOSE message
\n
"
);
break
;
default:
FIXME
(
"is probably wrong msg [%
l
u]
\n
"
,
wMsg
);
FIXME
(
"is probably wrong msg [%u]
\n
"
,
wMsg
);
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
}
return
MCIERR_UNRECOGNIZED_COMMAND
;
...
...
dlls/winmm/wavemap/wavemap.c
View file @
8140d66c
...
...
@@ -76,8 +76,8 @@ static BOOL WAVEMAP_IsData(WAVEMAPDATA* wm)
* WAVE OUT part *
*======================================================================*/
static
void
CALLBACK
wodCallback
(
HWAVEOUT
hWave
,
UINT
uMsg
,
DWORD
dwInstance
,
DWORD
dwParam1
,
DWORD
dwParam2
)
static
void
CALLBACK
wodCallback
(
HWAVEOUT
hWave
,
UINT
uMsg
,
DWORD_PTR
dwInstance
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
WAVEMAPDATA
*
wom
=
(
WAVEMAPDATA
*
)
dwInstance
;
...
...
@@ -1186,7 +1186,7 @@ static struct WINE_WAVEMAP* oss = NULL;
/**************************************************************************
* WAVEMAP_drvOpen [internal]
*/
static
DWORD
WAVEMAP_drvOpen
(
LPSTR
str
)
static
LRESULT
WAVEMAP_drvOpen
(
LPSTR
str
)
{
TRACE
(
"(%p)
\n
"
,
str
);
...
...
@@ -1201,7 +1201,7 @@ static DWORD WAVEMAP_drvOpen(LPSTR str)
/**************************************************************************
* WAVEMAP_drvClose [internal]
*/
static
DWORD
WAVEMAP_drvClose
(
DWORD
dwDevID
)
static
LRESULT
WAVEMAP_drvClose
(
DWORD_PTR
dwDevID
)
{
TRACE
(
"(%08lx)
\n
"
,
dwDevID
);
...
...
@@ -1215,10 +1215,10 @@ static DWORD WAVEMAP_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (MSACM.@)
*/
L
ONG
CALLBACK
WAVEMAP_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
WAVEMAP_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08lX, %p, %08
l
X, %08lX, %08lX)
\n
"
,
TRACE
(
"(%08lX, %p, %08X, %08lX, %08lX)
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
...
...
dlls/winmm/winealsa/alsa.c
View file @
8140d66c
...
...
@@ -37,7 +37,7 @@ static struct WINE_ALSA* alsa = NULL;
/**************************************************************************
* ALSA_drvOpen [internal]
*/
static
DWORD
ALSA_drvOpen
(
LPSTR
str
)
static
LRESULT
ALSA_drvOpen
(
LPSTR
str
)
{
if
(
alsa
)
return
0
;
...
...
@@ -50,7 +50,7 @@ static DWORD ALSA_drvOpen(LPSTR str)
/**************************************************************************
* ALSA_drvClose [internal]
*/
static
DWORD
ALSA_drvClose
(
DWORD
dwDevID
)
static
LRESULT
ALSA_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
alsa
)
{
alsa
=
NULL
;
...
...
@@ -65,8 +65,8 @@ static DWORD ALSA_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINEALSA.@)
*/
L
ONG
CALLBACK
ALSA_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
ALSA_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/winearts/arts.c
View file @
8140d66c
...
...
@@ -38,7 +38,7 @@ static int arts = 0;
/**************************************************************************
* ARTS_drvOpen [internal]
*/
static
DWORD
ARTS_drvOpen
(
LPSTR
str
)
static
LRESULT
ARTS_drvOpen
(
LPSTR
str
)
{
if
(
arts
)
return
0
;
...
...
@@ -51,7 +51,7 @@ static DWORD ARTS_drvOpen(LPSTR str)
/**************************************************************************
* ARTS_drvClose [internal]
*/
static
DWORD
ARTS_drvClose
(
DWORD
dwDevID
)
static
LRESULT
ARTS_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
arts
)
{
arts
=
0
;
...
...
@@ -65,8 +65,8 @@ static DWORD ARTS_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINEARTS.@)
*/
L
ONG
CALLBACK
ARTS_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
ARTS_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/wineaudioio/audioio.c
View file @
8140d66c
...
...
@@ -39,7 +39,7 @@ extern LONG LIBAUDIOIO_WaveInit(void);
/**************************************************************************
* LIBAUDIOIO_drvOpen [internal]
*/
static
DWORD
LIBAUDIOIO_drvOpen
(
LPSTR
str
)
static
LRESULT
LIBAUDIOIO_drvOpen
(
LPSTR
str
)
{
if
(
audioio
)
return
0
;
...
...
@@ -52,7 +52,7 @@ static DWORD LIBAUDIOIO_drvOpen(LPSTR str)
/**************************************************************************
* LIBAUDIOIO_drvClose [internal]
*/
static
DWORD
LIBAUDIOIO_drvClose
(
DWORD
dwDevID
)
static
LRESULT
LIBAUDIOIO_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
audioio
)
{
audioio
=
NULL
;
...
...
@@ -67,8 +67,8 @@ static DWORD LIBAUDIOIO_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc
*/
L
ONG
CALLBACK
LIBAUDIOIO_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
LIBAUDIOIO_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/wineesd/esound.c
View file @
8140d66c
...
...
@@ -39,7 +39,7 @@ static int esd = 0;
/**************************************************************************
* ESD_drvOpen [internal]
*/
static
DWORD
ESD_drvOpen
(
LPSTR
str
)
static
LRESULT
ESD_drvOpen
(
LPSTR
str
)
{
if
(
esd
)
return
0
;
...
...
@@ -52,7 +52,7 @@ static DWORD ESD_drvOpen(LPSTR str)
/**************************************************************************
* ESD_drvClose [internal]
*/
static
DWORD
ESD_drvClose
(
DWORD
dwDevID
)
static
LRESULT
ESD_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
esd
)
{
esd
=
0
;
...
...
@@ -66,8 +66,8 @@ static DWORD ESD_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINEESD.@)
*/
L
ONG
CALLBACK
ESD_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
ESD_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/winejack/jack.c
View file @
8140d66c
...
...
@@ -51,7 +51,7 @@ void *jackhandle = NULL;
/**************************************************************************
* JACK_drvLoad [internal]
*/
static
DWORD
JACK_drvLoad
(
void
)
static
LRESULT
JACK_drvLoad
(
void
)
{
TRACE
(
"JACK_drvLoad()
\n
"
);
...
...
@@ -76,7 +76,7 @@ static DWORD JACK_drvLoad(void)
* JACK_drvFree [internal]
*/
/* unload the jack library on driver free */
static
DWORD
JACK_drvFree
(
void
)
static
LRESULT
JACK_drvFree
(
void
)
{
TRACE
(
"JACK_drvFree()
\n
"
);
...
...
@@ -93,7 +93,7 @@ static DWORD JACK_drvFree(void)
/**************************************************************************
* JACK_drvOpen [internal]
*/
static
DWORD
JACK_drvOpen
(
LPSTR
str
)
static
LRESULT
JACK_drvOpen
(
LPSTR
str
)
{
/* if we were unable to load the jack library then fail the */
/* driver open */
...
...
@@ -118,7 +118,7 @@ static DWORD JACK_drvOpen(LPSTR str)
/**************************************************************************
* JACK_drvClose [internal]
*/
static
DWORD
JACK_drvClose
(
DWORD
dwDevID
)
static
LRESULT
JACK_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
jack
)
{
...
...
@@ -136,8 +136,8 @@ static DWORD JACK_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINEJACK.1)
*/
L
ONG
CALLBACK
JACK_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
JACK_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/winemm.h
View file @
8140d66c
...
...
@@ -32,9 +32,6 @@
#define WINE_DEFAULT_WINMM_MAPPER "msacm.drv"
#define WINE_DEFAULT_WINMM_MIDI "midimap.dll"
typedef
DWORD
(
WINAPI
*
MessageProc16
)(
UINT16
wDevID
,
UINT16
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
);
typedef
DWORD
(
WINAPI
*
MessageProc32
)(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
);
typedef
enum
{
WINMM_MAP_NOMEM
,
/* ko, memory problem */
WINMM_MAP_MSGERROR
,
/* ko, unknown message */
...
...
@@ -54,7 +51,7 @@ typedef struct tagWINE_DRIVER
struct
{
HMODULE
hModule
;
DRIVERPROC
lpDrvProc
;
DWORD
dwDriverID
;
DWORD
_PTR
dwDriverID
;
}
d32
;
struct
{
UINT16
hDriver16
;
...
...
dlls/winmm/winenas/nas.c
View file @
8140d66c
...
...
@@ -41,7 +41,7 @@ static int nas = 0;
/**************************************************************************
* NAS_drvOpen [internal]
*/
static
DWORD
NAS_drvOpen
(
LPSTR
str
)
static
LRESULT
NAS_drvOpen
(
LPSTR
str
)
{
if
(
nas
)
return
0
;
...
...
@@ -54,7 +54,7 @@ static DWORD NAS_drvOpen(LPSTR str)
/**************************************************************************
* NAS_drvClose [internal]
*/
static
DWORD
NAS_drvClose
(
DWORD
dwDevID
)
static
LRESULT
NAS_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
nas
)
{
nas
=
0
;
...
...
@@ -68,8 +68,8 @@ static DWORD NAS_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINENAS.@)
*/
L
ONG
CALLBACK
NAS_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
NAS_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
dlls/winmm/wineoss/oss.c
View file @
8140d66c
...
...
@@ -37,7 +37,7 @@ static struct WINE_OSS* oss = NULL;
/**************************************************************************
* OSS_drvOpen [internal]
*/
static
DWORD
OSS_drvOpen
(
LPSTR
str
)
static
LRESULT
OSS_drvOpen
(
LPSTR
str
)
{
if
(
oss
)
return
0
;
...
...
@@ -50,7 +50,7 @@ static DWORD OSS_drvOpen(LPSTR str)
/**************************************************************************
* OSS_drvClose [internal]
*/
static
DWORD
OSS_drvClose
(
DWORD
dwDevID
)
static
LRESULT
OSS_drvClose
(
DWORD_PTR
dwDevID
)
{
if
(
oss
)
{
oss
=
NULL
;
...
...
@@ -65,8 +65,8 @@ static DWORD OSS_drvClose(DWORD dwDevID)
/**************************************************************************
* DriverProc (WINEOSS.1)
*/
L
ONG
CALLBACK
OSS_DriverProc
(
DWORD
dwDevID
,
HDRVR
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
L
RESULT
CALLBACK
OSS_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
/* EPP TRACE("(%08lX, %04X, %08lX, %08lX, %08lX)\n", */
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
...
...
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