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
65011132
Commit
65011132
authored
Nov 14, 2009
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: MCI_ALL_DEVICE_ID(MCIDEVICEID) is not a 16bit entity in MCI32.
parent
e32218fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mci.c
dlls/winmm/mci.c
+4
-4
mmsystem.h
include/mmsystem.h
+1
-1
No files found.
dlls/winmm/mci.c
View file @
65011132
...
...
@@ -99,7 +99,7 @@ static inline LPWSTR str_dup_upper( LPCWSTR str )
/**************************************************************************
* MCI_GetDriver [internal]
*/
static
LPWINE_MCIDRIVER
MCI_GetDriver
(
UINT
16
wDevID
)
static
LPWINE_MCIDRIVER
MCI_GetDriver
(
UINT
wDevID
)
{
LPWINE_MCIDRIVER
wmd
=
0
;
...
...
@@ -1669,7 +1669,7 @@ errCleanUp:
/**************************************************************************
* MCI_Close [internal]
*/
static
DWORD
MCI_Close
(
UINT
16
wDevID
,
DWORD
dwParam
,
LPMCI_GENERIC_PARMS
lpParms
)
static
DWORD
MCI_Close
(
UINT
wDevID
,
DWORD
dwParam
,
LPMCI_GENERIC_PARMS
lpParms
)
{
DWORD
dwRet
;
LPWINE_MCIDRIVER
wmd
;
...
...
@@ -1677,7 +1677,7 @@ static DWORD MCI_Close(UINT16 wDevID, DWORD dwParam, LPMCI_GENERIC_PARMS lpParms
TRACE
(
"(%04x, %08X, %p)
\n
"
,
wDevID
,
dwParam
,
lpParms
);
/* Every device must handle MCI_NOTIFY on its own. */
if
(
wDevID
==
MCI_ALL_DEVICE_ID
)
{
if
(
(
UINT16
)
wDevID
==
(
UINT16
)
MCI_ALL_DEVICE_ID
)
{
while
(
MciDrivers
)
{
/* Retrieve the device ID under lock, but send the message without,
* the driver might be calling some winmm functions from another
...
...
@@ -1894,7 +1894,7 @@ DWORD MCI_SendCommand(UINT wDevID, UINT16 wMsg, DWORD_PTR dwParam1, DWORD_PTR dw
dwRet
=
MCI_Sound
(
wDevID
,
dwParam1
,
(
LPMCI_SOUND_PARMSW
)
dwParam2
);
break
;
default:
if
(
wDevID
==
MCI_ALL_DEVICE_ID
)
{
if
((
UINT16
)
wDevID
==
(
UINT16
)
MCI_ALL_DEVICE_ID
)
{
FIXME
(
"unhandled MCI_ALL_DEVICE_ID
\n
"
);
dwRet
=
MCIERR_CANNOT_USE_ALL
;
}
else
{
...
...
include/mmsystem.h
View file @
65011132
...
...
@@ -1809,7 +1809,7 @@ YIELDPROC WINAPI mciGetYieldProc(MCIDEVICEID,DWORD*);
#define MCI_USER_MESSAGES (0x400 + DRV_MCI_FIRST)
#define MCI_ALL_DEVICE_ID 0xFFFF
#define MCI_ALL_DEVICE_ID 0xFFFF
FFFF
#define MCI_DEVTYPE_VCR (MCI_STRING_OFFSET + 1)
#define MCI_DEVTYPE_VIDEODISC (MCI_STRING_OFFSET + 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