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
bcd00b43
Commit
bcd00b43
authored
Feb 10, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineesd.drv: dwParam1 and dwParam2 have the type DWORD_PTR.
parent
193b9b89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
36 deletions
+42
-36
audio.c
dlls/wineesd.drv/audio.c
+42
-36
No files found.
dlls/wineesd.drv/audio.c
View file @
bcd00b43
...
@@ -132,7 +132,7 @@ enum win_wm_message {
...
@@ -132,7 +132,7 @@ enum win_wm_message {
typedef
struct
{
typedef
struct
{
enum
win_wm_message
msg
;
/* message identifier */
enum
win_wm_message
msg
;
/* message identifier */
DWORD
param
;
/* parameter for this message */
DWORD
_PTR
param
;
/* parameter for this message */
HANDLE
hEvent
;
/* if message is synchronous, handle of event for synchro */
HANDLE
hEvent
;
/* if message is synchronous, handle of event for synchro */
}
RING_MSG
;
}
RING_MSG
;
...
@@ -643,8 +643,8 @@ static int ESD_AddRingMessage(ESD_MSG_RING* mr, enum win_wm_message msg, DWORD p
...
@@ -643,8 +643,8 @@ static int ESD_AddRingMessage(ESD_MSG_RING* mr, enum win_wm_message msg, DWORD p
*
*
* Get a message from the ring. Should be called by the playback/record thread.
* Get a message from the ring. Should be called by the playback/record thread.
*/
*/
static
int
ESD_RetrieveRingMessage
(
ESD_MSG_RING
*
mr
,
static
int
ESD_RetrieveRingMessage
(
ESD_MSG_RING
*
mr
,
enum
win_wm_message
*
msg
,
enum
win_wm_message
*
msg
,
DWORD
*
param
,
HANDLE
*
hEvent
)
DWORD_PTR
*
param
,
HANDLE
*
hEvent
)
{
{
EnterCriticalSection
(
&
mr
->
msg_crst
);
EnterCriticalSection
(
&
mr
->
msg_crst
);
...
@@ -671,9 +671,10 @@ static int ESD_RetrieveRingMessage(ESD_MSG_RING* mr,
...
@@ -671,9 +671,10 @@ static int ESD_RetrieveRingMessage(ESD_MSG_RING* mr,
/**************************************************************************
/**************************************************************************
* wodNotifyClient [internal]
* wodNotifyClient [internal]
*/
*/
static
DWORD
wodNotifyClient
(
WINE_WAVEOUT
*
wwo
,
WORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
static
DWORD
wodNotifyClient
(
WINE_WAVEOUT
*
wwo
,
WORD
wMsg
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
TRACE
(
"wMsg = 0x%04x dwParm1 = %0
4X dwParam2 = %04
X
\n
"
,
wMsg
,
dwParam1
,
dwParam2
);
TRACE
(
"wMsg = 0x%04x dwParm1 = %0
8lX dwParam2 = %08l
X
\n
"
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
switch
(
wMsg
)
{
case
WOM_OPEN
:
case
WOM_OPEN
:
...
@@ -931,7 +932,7 @@ static DWORD wodPlayer_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
...
@@ -931,7 +932,7 @@ static DWORD wodPlayer_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
wodNotifyClient
(
wwo
,
WOM_DONE
,
(
DWORD
)
lpWaveHdr
,
0
);
wodNotifyClient
(
wwo
,
WOM_DONE
,
(
DWORD_PTR
)
lpWaveHdr
,
0
);
}
}
return
(
lpWaveHdr
&&
lpWaveHdr
!=
wwo
->
lpPlayPtr
&&
lpWaveHdr
!=
wwo
->
lpLoopPtr
)
?
return
(
lpWaveHdr
&&
lpWaveHdr
!=
wwo
->
lpPlayPtr
&&
lpWaveHdr
!=
wwo
->
lpLoopPtr
)
?
wodPlayer_NotifyWait
(
wwo
,
lpWaveHdr
)
:
INFINITE
;
wodPlayer_NotifyWait
(
wwo
,
lpWaveHdr
)
:
INFINITE
;
...
@@ -953,7 +954,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -953,7 +954,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
if
(
reset
)
{
if
(
reset
)
{
enum
win_wm_message
msg
;
enum
win_wm_message
msg
;
DWORD
param
;
DWORD
_PTR
param
;
HANDLE
ev
;
HANDLE
ev
;
/* remove any buffer */
/* remove any buffer */
...
@@ -1007,12 +1008,12 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -1007,12 +1008,12 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
static
void
wodPlayer_ProcessMessages
(
WINE_WAVEOUT
*
wwo
)
static
void
wodPlayer_ProcessMessages
(
WINE_WAVEOUT
*
wwo
)
{
{
LPWAVEHDR
lpWaveHdr
;
LPWAVEHDR
lpWaveHdr
;
enum
win_wm_message
msg
;
enum
win_wm_message
msg
;
DWORD
param
;
DWORD
_PTR
param
;
HANDLE
ev
;
HANDLE
ev
;
while
(
ESD_RetrieveRingMessage
(
&
wwo
->
msgRing
,
&
msg
,
&
param
,
&
ev
))
{
while
(
ESD_RetrieveRingMessage
(
&
wwo
->
msgRing
,
&
msg
,
&
param
,
&
ev
))
{
TRACE
(
"Received %s %
x
\n
"
,
wodPlayerCmdString
[
msg
-
WM_USER
-
1
],
param
);
TRACE
(
"Received %s %l
x
\n
"
,
wodPlayerCmdString
[
msg
-
WM_USER
-
1
],
param
);
switch
(
msg
)
{
switch
(
msg
)
{
case
WINE_WM_PAUSING
:
case
WINE_WM_PAUSING
:
wodPlayer_Reset
(
wwo
,
FALSE
);
wodPlayer_Reset
(
wwo
,
FALSE
);
...
@@ -1133,7 +1134,7 @@ static DWORD wodPlayer_FeedDSP(WINE_WAVEOUT* wwo)
...
@@ -1133,7 +1134,7 @@ static DWORD wodPlayer_FeedDSP(WINE_WAVEOUT* wwo)
*/
*/
static
DWORD
CALLBACK
wodPlayer
(
LPVOID
pmt
)
static
DWORD
CALLBACK
wodPlayer
(
LPVOID
pmt
)
{
{
WORD
uDevID
=
(
DWORD
)
pmt
;
WORD
uDevID
=
(
DWORD
_PTR
)
pmt
;
WINE_WAVEOUT
*
wwo
=
&
WOutDev
[
uDevID
];
WINE_WAVEOUT
*
wwo
=
&
WOutDev
[
uDevID
];
DWORD
dwNextFeedTime
=
INFINITE
;
/* Time before DSP needs feeding */
DWORD
dwNextFeedTime
=
INFINITE
;
/* Time before DSP needs feeding */
DWORD
dwNextNotifyTime
=
INFINITE
;
/* Time before next wave completion */
DWORD
dwNextNotifyTime
=
INFINITE
;
/* Time before next wave completion */
...
@@ -1281,7 +1282,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
...
@@ -1281,7 +1282,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
/* create player thread */
/* create player thread */
if
(
!
(
dwFlags
&
WAVE_DIRECTSOUND
))
{
if
(
!
(
dwFlags
&
WAVE_DIRECTSOUND
))
{
wwo
->
hStartUpEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
wwo
->
hStartUpEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
wwo
->
hThread
=
CreateThread
(
NULL
,
0
,
wodPlayer
,
(
LPVOID
)(
DWORD
)
wDevID
,
0
,
&
(
wwo
->
dwThreadID
));
wwo
->
hThread
=
CreateThread
(
NULL
,
0
,
wodPlayer
,
(
LPVOID
)(
DWORD_PTR
)
wDevID
,
0
,
&
(
wwo
->
dwThreadID
));
WaitForSingleObject
(
wwo
->
hStartUpEvent
,
INFINITE
);
WaitForSingleObject
(
wwo
->
hStartUpEvent
,
INFINITE
);
CloseHandle
(
wwo
->
hStartUpEvent
);
CloseHandle
(
wwo
->
hStartUpEvent
);
}
else
{
}
else
{
...
@@ -1366,7 +1368,8 @@ static DWORD wodWrite(WORD wDevID, LPWAVEHDR lpWaveHdr, DWORD dwSize)
...
@@ -1366,7 +1368,8 @@ static DWORD wodWrite(WORD wDevID, LPWAVEHDR lpWaveHdr, DWORD dwSize)
lpWaveHdr
->
lpNext
=
0
;
lpWaveHdr
->
lpNext
=
0
;
TRACE
(
"adding ring message
\n
"
);
TRACE
(
"adding ring message
\n
"
);
ESD_AddRingMessage
(
&
WOutDev
[
wDevID
].
msgRing
,
WINE_WM_HEADER
,
(
DWORD
)
lpWaveHdr
,
FALSE
);
ESD_AddRingMessage
(
&
WOutDev
[
wDevID
].
msgRing
,
WINE_WM_HEADER
,
(
DWORD_PTR
)
lpWaveHdr
,
FALSE
);
return
MMSYSERR_NOERROR
;
return
MMSYSERR_NOERROR
;
}
}
...
@@ -1547,9 +1550,9 @@ static DWORD wodDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2)
...
@@ -1547,9 +1550,9 @@ static DWORD wodDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2)
* wodMessage (WINEESD.@)
* wodMessage (WINEESD.@)
*/
*/
DWORD
WINAPI
ESD_wodMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
WINAPI
ESD_wodMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
TRACE
(
"(%u, %04X, %08X, %08
X, %08
X);
\n
"
,
TRACE
(
"(%u, %04X, %08X, %08
lX, %08l
X);
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
switch
(
wMsg
)
{
...
@@ -1632,9 +1635,10 @@ static DWORD widDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2)
...
@@ -1632,9 +1635,10 @@ static DWORD widDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2)
/**************************************************************************
/**************************************************************************
* widNotifyClient [internal]
* widNotifyClient [internal]
*/
*/
static
DWORD
widNotifyClient
(
WINE_WAVEIN
*
wwi
,
WORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
static
DWORD
widNotifyClient
(
WINE_WAVEIN
*
wwi
,
WORD
wMsg
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
TRACE
(
"wMsg = 0x%04x dwParm1 = %0
4X dwParam2 = %04
X
\n
"
,
wMsg
,
dwParam1
,
dwParam2
);
TRACE
(
"wMsg = 0x%04x dwParm1 = %0
8lX dwParam2 = %08l
X
\n
"
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
switch
(
wMsg
)
{
case
WIM_OPEN
:
case
WIM_OPEN
:
...
@@ -1678,14 +1682,14 @@ static DWORD widGetDevCaps(WORD wDevID, LPWAVEINCAPSW lpCaps, DWORD dwSize)
...
@@ -1678,14 +1682,14 @@ static DWORD widGetDevCaps(WORD wDevID, LPWAVEINCAPSW lpCaps, DWORD dwSize)
*/
*/
static
DWORD
CALLBACK
widRecorder
(
LPVOID
pmt
)
static
DWORD
CALLBACK
widRecorder
(
LPVOID
pmt
)
{
{
WORD
uDevID
=
(
DWORD
)
pmt
;
WORD
uDevID
=
(
DWORD_PTR
)
pmt
;
WINE_WAVEIN
*
wwi
=
&
WInDev
[
uDevID
];
WINE_WAVEIN
*
wwi
=
&
WInDev
[
uDevID
];
WAVEHDR
*
lpWaveHdr
;
WAVEHDR
*
lpWaveHdr
;
DWORD
dwSleepTime
;
DWORD
dwSleepTime
;
int
bytesRead
;
int
bytesRead
;
enum
win_wm_message
msg
;
enum
win_wm_message
msg
;
DWORD
param
;
DWORD
_PTR
param
;
HANDLE
ev
;
HANDLE
ev
;
SetEvent
(
wwi
->
hStartUpEvent
);
SetEvent
(
wwi
->
hStartUpEvent
);
...
@@ -1727,7 +1731,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
...
@@ -1727,7 +1731,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD
)
lpWaveHdr
,
0
);
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD_PTR
)
lpWaveHdr
,
0
);
lpWaveHdr
=
wwi
->
lpQueuePtr
=
lpNext
;
lpWaveHdr
=
wwi
->
lpQueuePtr
=
lpNext
;
}
}
}
}
...
@@ -1738,7 +1742,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
...
@@ -1738,7 +1742,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
while
(
ESD_RetrieveRingMessage
(
&
wwi
->
msgRing
,
&
msg
,
&
param
,
&
ev
))
while
(
ESD_RetrieveRingMessage
(
&
wwi
->
msgRing
,
&
msg
,
&
param
,
&
ev
))
{
{
TRACE
(
"msg=%s param=0x%x
\n
"
,
wodPlayerCmdString
[
msg
-
WM_USER
-
1
],
param
);
TRACE
(
"msg=%s param=0x%
l
x
\n
"
,
wodPlayerCmdString
[
msg
-
WM_USER
-
1
],
param
);
switch
(
msg
)
{
switch
(
msg
)
{
case
WINE_WM_PAUSING
:
case
WINE_WM_PAUSING
:
wwi
->
state
=
WINE_WS_PAUSED
;
wwi
->
state
=
WINE_WS_PAUSED
;
...
@@ -1785,7 +1789,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
...
@@ -1785,7 +1789,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
TRACE
(
"stop %p %p
\n
"
,
lpWaveHdr
,
lpWaveHdr
->
lpNext
);
TRACE
(
"stop %p %p
\n
"
,
lpWaveHdr
,
lpWaveHdr
->
lpNext
);
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD
)
lpWaveHdr
,
0
);
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD_PTR
)
lpWaveHdr
,
0
);
wwi
->
lpQueuePtr
=
lpNext
;
wwi
->
lpQueuePtr
=
lpNext
;
}
}
}
}
...
@@ -1802,7 +1806,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
...
@@ -1802,7 +1806,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
&=
~
WHDR_INQUEUE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
lpWaveHdr
->
dwFlags
|=
WHDR_DONE
;
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD
)
lpWaveHdr
,
0
);
widNotifyClient
(
wwi
,
WIM_DATA
,
(
DWORD_PTR
)
lpWaveHdr
,
0
);
}
}
wwi
->
lpQueuePtr
=
NULL
;
wwi
->
lpQueuePtr
=
NULL
;
SetEvent
(
ev
);
SetEvent
(
ev
);
...
@@ -1935,7 +1939,8 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
...
@@ -1935,7 +1939,8 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
/* create recorder thread */
/* create recorder thread */
if
(
!
(
dwFlags
&
WAVE_DIRECTSOUND
))
{
if
(
!
(
dwFlags
&
WAVE_DIRECTSOUND
))
{
wwi
->
hStartUpEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
wwi
->
hStartUpEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
wwi
->
hThread
=
CreateThread
(
NULL
,
0
,
widRecorder
,
(
LPVOID
)(
DWORD
)
wDevID
,
0
,
&
(
wwi
->
dwThreadID
));
wwi
->
hThread
=
CreateThread
(
NULL
,
0
,
widRecorder
,
(
LPVOID
)(
DWORD_PTR
)
wDevID
,
0
,
&
(
wwi
->
dwThreadID
));
WaitForSingleObject
(
wwi
->
hStartUpEvent
,
INFINITE
);
WaitForSingleObject
(
wwi
->
hStartUpEvent
,
INFINITE
);
CloseHandle
(
wwi
->
hStartUpEvent
);
CloseHandle
(
wwi
->
hStartUpEvent
);
}
else
{
}
else
{
...
@@ -2003,7 +2008,8 @@ static DWORD widAddBuffer(WORD wDevID, LPWAVEHDR lpWaveHdr, DWORD dwSize)
...
@@ -2003,7 +2008,8 @@ static DWORD widAddBuffer(WORD wDevID, LPWAVEHDR lpWaveHdr, DWORD dwSize)
lpWaveHdr
->
dwBytesRecorded
=
0
;
lpWaveHdr
->
dwBytesRecorded
=
0
;
lpWaveHdr
->
lpNext
=
NULL
;
lpWaveHdr
->
lpNext
=
NULL
;
ESD_AddRingMessage
(
&
WInDev
[
wDevID
].
msgRing
,
WINE_WM_HEADER
,
(
DWORD
)
lpWaveHdr
,
FALSE
);
ESD_AddRingMessage
(
&
WInDev
[
wDevID
].
msgRing
,
WINE_WM_HEADER
,
(
DWORD_PTR
)
lpWaveHdr
,
FALSE
);
return
MMSYSERR_NOERROR
;
return
MMSYSERR_NOERROR
;
}
}
...
@@ -2056,9 +2062,9 @@ static DWORD widReset(WORD wDevID)
...
@@ -2056,9 +2062,9 @@ static DWORD widReset(WORD wDevID)
* widMessage (WINEESD.6)
* widMessage (WINEESD.6)
*/
*/
DWORD
WINAPI
ESD_widMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
WINAPI
ESD_widMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
TRACE
(
"(%u, %04X, %08X, %08
X, %08
X);
\n
"
,
TRACE
(
"(%u, %04X, %08X, %08
lX, %08l
X);
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
{
switch
(
wMsg
)
{
case
DRVM_INIT
:
case
DRVM_INIT
:
...
@@ -2111,9 +2117,9 @@ static DWORD wodDsDesc(UINT wDevID, PDSDRIVERDESC desc)
...
@@ -2111,9 +2117,9 @@ static DWORD wodDsDesc(UINT wDevID, PDSDRIVERDESC desc)
* wodMessage (WINEESD.@)
* wodMessage (WINEESD.@)
*/
*/
DWORD
WINAPI
ESD_wodMessage
(
WORD
wDevID
,
WORD
wMsg
,
DWORD
dwUser
,
DWORD
WINAPI
ESD_wodMessage
(
WORD
wDevID
,
WORD
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
FIXME
(
"(%u, %04X, %08X, %08
X, %08
X):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
FIXME
(
"(%u, %04X, %08X, %08
lX, %08l
X):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
return
MMSYSERR_NOTENABLED
;
return
MMSYSERR_NOTENABLED
;
}
}
...
@@ -2121,9 +2127,9 @@ DWORD WINAPI ESD_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
...
@@ -2121,9 +2127,9 @@ DWORD WINAPI ESD_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
* widMessage (WINEESD.6)
* widMessage (WINEESD.6)
*/
*/
DWORD
WINAPI
ESD_widMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
WINAPI
ESD_widMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
{
FIXME
(
"(%u, %04X, %08X, %08
X, %08
X):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
FIXME
(
"(%u, %04X, %08X, %08
lX, %08l
X):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
return
MMSYSERR_NOTENABLED
;
return
MMSYSERR_NOTENABLED
;
}
}
...
...
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