Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fe360d6a
Commit
fe360d6a
authored
Sep 03, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Use CreateFileA to please win98.
parent
f20961d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
saxreader.c
dlls/msxml3/tests/saxreader.c
+3
-3
No files found.
dlls/msxml3/tests/saxreader.c
View file @
fe360d6a
...
...
@@ -477,7 +477,7 @@ static void test_saxreader(void)
LARGE_INTEGER
liPos
;
ULONG
bytesWritten
;
HANDLE
file
;
static
const
CHAR
testXmlA
[]
=
"test.xml"
;
static
const
WCHAR
testXmlW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
'.'
,
'x'
,
'm'
,
'l'
,
0
};
hr
=
CoCreateInstance
(
&
CLSID_SAXXMLReader
,
NULL
,
CLSCTX_INPROC_SERVER
,
...
...
@@ -564,7 +564,7 @@ static void test_saxreader(void)
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_expect_call
(
CH_ENDTEST
);
file
=
CreateFile
W
(
testXmlW
,
GENERIC_WRITE
,
0
,
NULL
,
CREATE_ALWAYS
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
file
=
CreateFile
A
(
testXmlA
,
GENERIC_WRITE
,
0
,
NULL
,
CREATE_ALWAYS
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"Could not create file: %u
\n
"
,
GetLastError
());
WriteFile
(
file
,
szTestXML
,
sizeof
(
szTestXML
)
-
1
,
&
bytesWritten
,
NULL
);
CloseHandle
(
file
);
...
...
@@ -574,7 +574,7 @@ static void test_saxreader(void)
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_expect_call
(
CH_ENDTEST
);
DeleteFile
W
(
testXmlW
);
DeleteFile
A
(
testXmlA
);
ISAXXMLReader_Release
(
reader
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment