quartz/tests: Use CreateFileA instead of CreateFileW to please win9x.
This commit is contained in:
parent
00662a190d
commit
5bef4b05dd
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue