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

This commit is contained in:
Paul Vriens 2008-08-28 08:55:43 +02:00 committed by Alexandre Julliard
parent 00662a190d
commit 5bef4b05dd
1 changed files with 2 additions and 1 deletions

View File

@ -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)
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();