Commit 51ce8f25 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winmm/tests: Use the explicit mciSendStringA() form.

parent ba3f1102
...@@ -244,13 +244,13 @@ static void test_midi_mci(HWND hwnd) ...@@ -244,13 +244,13 @@ static void test_midi_mci(HWND hwnd)
char buf[1024]; char buf[1024];
memset(buf, 0, sizeof(buf)); memset(buf, 0, sizeof(buf));
err = mciSendString("sysinfo sequencer quantity", buf, sizeof(buf), hwnd); err = mciSendStringA("sysinfo sequencer quantity", buf, sizeof(buf), hwnd);
ok(!err, "mci sysinfo sequencer quantity returned %d\n", err); ok(!err, "mci sysinfo sequencer quantity returned %d\n", err);
if (!err) trace("Found %s MCI sequencer devices\n", buf); if (!err) trace("Found %s MCI sequencer devices\n", buf);
if (!strcmp(buf, "0")) return; if (!strcmp(buf, "0")) return;
err = mciSendString("capability sequencer can record", buf, sizeof(buf), hwnd); err = mciSendStringA("capability sequencer can record", buf, sizeof(buf), hwnd);
ok(!err, "mci sysinfo sequencer quantity returned %d\n", err); ok(!err, "mci sysinfo sequencer quantity returned %d\n", err);
if(!err) ok(!strcmp(buf, "false"), "capability can record is %s\n", buf); if(!err) ok(!strcmp(buf, "false"), "capability can record is %s\n", buf);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment