err = mciSendStringA("play mysound from 250 to 0", NULL, 0, NULL);
ok(err==MCIERR_OUTOFRANGE,"mci play from 250 to 0 returned %s\n", dbg_mcierr(err));
- Sleep(50); /* Give play from 0 to 0 time to finish. */
+ Sleep(100); /* Give play from 0 to 0 time to finish. */
todo_wine test_notification(hwnd, "play from 0 to 0", MCI_NOTIFY_SUCCESSFUL);
err = mciSendStringA("status mysound mode", buf, sizeof(buf), hwnd);
#define NOBITMAP
#include "mmddk.h"
#include "mmreg.h"
-//#include "ks.h"
-//#include "ksguid.h"
-//#include "ksmedia.h"
+#include "ks.h"
+#include "ksguid.h"
+#ifndef __REACTOS__
+#include "ksmedia.h"
+#endif
#include "winmm_test.h"
-/* FIXME */
+#ifdef __REACTOS__ /* FIXME */
DEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
+#endif
static DWORD g_tid;
"waveOutGetDevCapsA(%s): MMSYSERR_NOERROR expected, got %s\n",
dev_name(device),wave_out_error(rc));
if (rc!=MMSYSERR_NOERROR)
+ {
+ HeapFree(GetProcessHeap(), 0, nameA);
return;
+ }
trace(" %s: \"%s\" (%s) %d.%d (%d:%d)\n",dev_name(device),capsA.szPname,
(nameA?nameA:"failed"),capsA.vDriverVersion >> 8,