mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-11 21:41:09 +00:00
winmm: MCI notification is controlled by keyword only.
This commit is contained in:
parent
bac6486520
commit
d48d923df3
|
@ -1433,12 +1433,6 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
|
||||||
goto errCleanUp;
|
goto errCleanUp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set up call back */
|
|
||||||
if (hwndCallback != 0) {
|
|
||||||
dwFlags |= MCI_NOTIFY;
|
|
||||||
data[0] = (DWORD)hwndCallback;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* set return information */
|
/* set return information */
|
||||||
switch (retType = MCI_GetReturnType(lpCmd)) {
|
switch (retType = MCI_GetReturnType(lpCmd)) {
|
||||||
case 0: offset = 1; break;
|
case 0: offset = 1; break;
|
||||||
|
@ -1454,6 +1448,11 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
|
||||||
if ((dwRet = MCI_ParseOptArgs(data, offset, lpCmd, args, &dwFlags)))
|
if ((dwRet = MCI_ParseOptArgs(data, offset, lpCmd, args, &dwFlags)))
|
||||||
goto errCleanUp;
|
goto errCleanUp;
|
||||||
|
|
||||||
|
/* set up call back */
|
||||||
|
if (dwFlags & MCI_NOTIFY) {
|
||||||
|
data[0] = (DWORD)hwndCallback;
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME: the command should get it's own notification window set up and
|
/* FIXME: the command should get it's own notification window set up and
|
||||||
* ask for device closing while processing the notification mechanism
|
* ask for device closing while processing the notification mechanism
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue