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
8ff7436d
Commit
8ff7436d
authored
Sep 20, 2012
by
Jörg Höhle
Committed by
Alexandre Julliard
Sep 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: The "open new ..." MCI string command sets an empty OPEN_ELEMENT.
parent
cd9451c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
mci.c
dlls/winmm/mci.c
+9
-0
No files found.
dlls/winmm/mci.c
View file @
8ff7436d
...
...
@@ -898,6 +898,13 @@ static DWORD MCI_SendCommandFrom32(MCIDEVICEID wDevID, UINT16 wMsg, DWORD_PTR dw
/**************************************************************************
* MCI_FinishOpen [internal]
*
* Three modes of operation:
* 1 open foo.ext ... -> OPEN_ELEMENT with lpstrElementName=foo.ext
* open sequencer!foo.ext same with lpstrElementName=foo.ext
* 2 open new type waveaudio -> OPEN_ELEMENT with empty ("") lpstrElementName
* 3 open sequencer -> OPEN_ELEMENT unset, and
* capability sequencer (auto-open) likewise
*/
static
DWORD
MCI_FinishOpen
(
LPWINE_MCIDRIVER
wmd
,
LPMCI_OPEN_PARMSW
lpParms
,
DWORD
dwParam
)
...
...
@@ -1371,6 +1378,8 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
dwRet
=
MCIERR_MISSING_DEVICE_NAME
;
goto
errCleanUp
;
}
dwFlags
|=
MCI_OPEN_ELEMENT
;
data
.
open
.
lpstrElementName
=
&
wszNull
[
0
];
}
else
if
((
devType
=
strchrW
(
dev
,
'!'
))
!=
NULL
)
{
*
devType
++
=
'\0'
;
tmp
=
devType
;
devType
=
dev
;
dev
=
tmp
;
...
...
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