[MPLAY32]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 23 Feb 2011 10:32:56 +0000 (10:32 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 23 Feb 2011 10:32:56 +0000 (10:32 +0000)
- Hackfix playback

See issue #5867 for more details.

svn path=/trunk/; revision=50871

reactos/base/applications/mplay32/mplay32.c

index f4bd117..3e0cca4 100644 (file)
@@ -455,7 +455,7 @@ PlayFile(HWND hwnd, LPTSTR lpFileName)
     mciPlay.dwFrom = 0;
     mciPlay.dwTo = MaxFilePos;
 
-    mciError = mciSendCommand(wDeviceId, MCI_PLAY, MCI_NOTIFY | MCI_FROM | MCI_TO, (DWORD_PTR)&mciPlay);
+    mciError = mciSendCommand(wDeviceId, MCI_PLAY, MCI_NOTIFY | MCI_FROM /*| MCI_TO*/, (DWORD_PTR)&mciPlay);
     if (mciError != 0)
     {
         MessageBox(hwnd, _T("Can't play!"), NULL, MB_OK);