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

Alexandre Julliard julliard at winehq.org
Thu Aug 28 07:00:35 CDT 2008


Module: wine
Branch: master
Commit: 5bef4b05dd00f17bc28dc9d75096c7a0f09597b0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5bef4b05dd00f17bc28dc9d75096c7a0f09597b0

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Thu Aug 28 08:55:43 2008 +0200

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

---

 dlls/quartz/tests/filtergraph.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index e39097b..0867d27 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -27,6 +27,7 @@
 #include "dshow.h"
 #include "control.h"
 
+static const CHAR fileA[] = "test.avi";
 static const WCHAR file[] = {'t','e','s','t','.','a','v','i',0};
 
 IGraphBuilder* pgraph;
@@ -143,7 +144,7 @@ static void test_render_run(void)
     if (!createfiltergraph())
         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) {
         CloseHandle(h);
         renderfile();




More information about the wine-cvs mailing list