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
4751a509
Commit
4751a509
authored
Dec 10, 1998
by
Robert Riggs
Committed by
Alexandre Julliard
Dec 10, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept MCI_OPEN and MCI_CLOSE messages in MCICDAUDIO_DriverProc32().
parent
2f09818f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mcicda.c
multimedia/mcicda.c
+8
-1
No files found.
multimedia/mcicda.c
View file @
4751a509
...
@@ -1100,7 +1100,9 @@ LONG MCICDAUDIO_DriverProc32(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
...
@@ -1100,7 +1100,9 @@ LONG MCICDAUDIO_DriverProc32(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
case
DRV_INSTALL
:
return
DRVCNF_RESTART
;
case
DRV_INSTALL
:
return
DRVCNF_RESTART
;
case
DRV_REMOVE
:
return
DRVCNF_RESTART
;
case
DRV_REMOVE
:
return
DRVCNF_RESTART
;
case
MCI_OPEN_DRIVER
:
return
CDAUDIO_mciOpen
(
dwDevID
,
dwParam1
,
(
LPMCI_OPEN_PARMS32A
)
dwParam2
);
case
MCI_OPEN
:
case
MCI_OPEN_DRIVER
:
return
CDAUDIO_mciOpen
(
dwDevID
,
dwParam1
,
(
LPMCI_OPEN_PARMS32A
)
dwParam2
);
case
MCI_CLOSE
:
case
MCI_CLOSE_DRIVER
:
return
CDAUDIO_mciClose
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_CLOSE_DRIVER
:
return
CDAUDIO_mciClose
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_GETDEVCAPS
:
return
CDAUDIO_mciGetDevCaps
(
dwDevID
,
dwParam1
,
(
LPMCI_GETDEVCAPS_PARMS
)
dwParam2
);
case
MCI_GETDEVCAPS
:
return
CDAUDIO_mciGetDevCaps
(
dwDevID
,
dwParam1
,
(
LPMCI_GETDEVCAPS_PARMS
)
dwParam2
);
case
MCI_INFO
:
return
CDAUDIO_mciInfo
(
dwDevID
,
dwParam1
,
(
LPMCI_INFO_PARMS16
)
dwParam2
);
case
MCI_INFO
:
return
CDAUDIO_mciInfo
(
dwDevID
,
dwParam1
,
(
LPMCI_INFO_PARMS16
)
dwParam2
);
...
@@ -1132,10 +1134,15 @@ LONG MCICDAUDIO_DriverProc32(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
...
@@ -1132,10 +1134,15 @@ LONG MCICDAUDIO_DriverProc32(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
case
MCI_PASTE
:
case
MCI_PASTE
:
WARN
(
cdaudio
,
"Unsupported command=%s
\n
"
,
MCI_CommandToString
(
wMsg
));
WARN
(
cdaudio
,
"Unsupported command=%s
\n
"
,
MCI_CommandToString
(
wMsg
));
break
;
break
;
/*
* This is incorrect according to Microsoft...
* http://support.microsoft.com/support/kb/articles/q137/5/79.asp
*
case MCI_OPEN:
case MCI_OPEN:
case MCI_CLOSE:
case MCI_CLOSE:
FIXME(cdaudio, "Shouldn't receive a MCI_OPEN or CLOSE message\n");
FIXME(cdaudio, "Shouldn't receive a MCI_OPEN or CLOSE message\n");
break;
break;
*/
default:
default:
TRACE
(
cdaudio
,
"Sending msg=%s to default driver proc
\n
"
,
MCI_CommandToString
(
wMsg
));
TRACE
(
cdaudio
,
"Sending msg=%s to default driver proc
\n
"
,
MCI_CommandToString
(
wMsg
));
return
DefDriverProc32
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
return
DefDriverProc32
(
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