Commit 5bef4b05 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

quartz/tests: Use CreateFileA instead of CreateFileW to please win9x.

parent 00662a19
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "dshow.h" #include "dshow.h"
#include "control.h" #include "control.h"
static const CHAR fileA[] = "test.avi";
static const WCHAR file[] = {'t','e','s','t','.','a','v','i',0}; static const WCHAR file[] = {'t','e','s','t','.','a','v','i',0};
IGraphBuilder* pgraph; IGraphBuilder* pgraph;
...@@ -143,7 +144,7 @@ static void test_render_run(void) ...@@ -143,7 +144,7 @@ static void test_render_run(void)
if (!createfiltergraph()) if (!createfiltergraph())
return; return;
h = CreateFileW(file, 0, 0, NULL, OPEN_EXISTING, 0, NULL); h = CreateFileA(fileA, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
if (h != INVALID_HANDLE_VALUE) { if (h != INVALID_HANDLE_VALUE) {
CloseHandle(h); CloseHandle(h);
renderfile(); renderfile();
......
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