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
5c7bcdad
Commit
5c7bcdad
authored
Nov 01, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Nov 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add error code defines.
parent
bf11a93b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+15
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-2
msxml2.idl
include/msxml2.idl
+7
-0
No files found.
dlls/msxml3/msxml_private.h
View file @
5c7bcdad
...
...
@@ -336,4 +336,19 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
return
ret
;
}
/* Error Codes - not defined anywhere in the public headers */
#define E_XML_ELEMENT_UNDECLARED 0xC00CE00D
#define E_XML_ELEMENT_ID_NOT_FOUND 0xC00CE00E
/* ... */
#define E_XML_EMPTY_NOT_ALLOWED 0xC00CE011
#define E_XML_ELEMENT_NOT_COMPLETE 0xC00CE012
#define E_XML_ROOT_NAME_MISMATCH 0xC00CE013
#define E_XML_INVALID_CONTENT 0xC00CE014
#define E_XML_ATTRIBUTE_NOT_DEFINED 0xC00CE015
#define E_XML_ATTRIBUTE_FIXED 0xC00CE016
#define E_XML_ATTRIBUTE_VALUE 0xC00CE017
#define E_XML_ILLEGAL_TEXT 0xC00CE018
/* ... */
#define E_XML_REQUIRED_ATTRIBUTE_MISSING 0xC00CE020
#endif
/* __MSXML_PRIVATE__ */
dlls/msxml3/tests/domdoc.c
View file @
5c7bcdad
...
...
@@ -3486,7 +3486,7 @@ static void test_IXMLDOMDocument2(void)
res
=
0
;
ole_check
(
IXMLDOMParseError_get_errorCode
(
err
,
&
res
));
/* XML_E_NOTWF */
ok
(
res
==
0xC00CE223
,
"got %08x
\n
"
,
res
);
ok
(
res
==
E_XML_NOTWF
,
"got %08x
\n
"
,
res
);
IXMLDOMParseError_Release
(
err
);
}
...
...
@@ -3507,7 +3507,7 @@ static void test_IXMLDOMDocument2(void)
res
=
0
;
ole_check
(
IXMLDOMParseError_get_errorCode
(
err
,
&
res
));
/* XML_E_NODTD */
todo_wine
ok
(
res
==
0xC00CE224
,
"got %08x
\n
"
,
res
);
todo_wine
ok
(
res
==
E_XML_NODTD
,
"got %08x
\n
"
,
res
);
IXMLDOMParseError_Release
(
err
);
}
...
...
include/msxml2.idl
View file @
5c7bcdad
...
...
@@ -2815,5 +2815,12 @@ coclass SAXAttributes40
interface
ISAXAttributes
;
}
;
/*
*
Error
Codes
*/
cpp_quote
(
"#define E_XML_NOTWF 0xC00CE223"
)
cpp_quote
(
"#define E_XML_NODTD 0xC00CE224"
)
cpp_quote
(
"#define E_XML_INVALID 0xC00CE225"
)
cpp_quote
(
"#define E_XML_BUFFERTOOSMALL 0xC00CE226"
)
}
/*
Library
MSXML
*/
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