winmm: MCI system commands are not eligible for auto-open.

Alexandre Julliard julliard at winehq.org
Thu Apr 8 10:14:21 CDT 2010


<Joerg-Cyril.Hoehle at t-systems.com> writes:

> @@ -1341,6 +1343,7 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
>  	    if (wmd)
>  		data[4] = wmd->wType;
>  	}
> +    } else if (!strcmpW(verb, wszSound) || !strcmpW(verb, wszBreak)) {
>      } else if ((MCI_ALL_DEVICE_ID != uDevID) && !(wmd = MCI_GetDriver(mciGetDeviceIDW(dev)))) {

You should at the very least add a comment to that empty block.

Also it fails here:

../../../tools/runtest -q -P wine -M winmm.dll -T ../../.. -p winmm_test.exe.so mci.c && touch mci.ok
mci.c:808: Test failed: got 0008 instead of MCI_NOTIFY_xyz 0000 from command sound notify
mci.c:820: Tests skipped: Skipping auto-open tests in Wine
make[1]: *** [mci.ok] Error 1

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list