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
be89ee1a
Commit
be89ee1a
authored
Jul 08, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Added ISAXMLReader_putErrorHandler implementation.
parent
23cae580
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
saxreader.c
dlls/msxml3/saxreader.c
+13
-2
No files found.
dlls/msxml3/saxreader.c
View file @
be89ee1a
...
...
@@ -50,6 +50,7 @@ typedef struct _saxreader
const
struct
ISAXXMLReaderVtbl
*
lpSAXXMLReaderVtbl
;
LONG
ref
;
struct
ISAXContentHandler
*
contentHandler
;
struct
ISAXErrorHandler
*
errorHandler
;
xmlSAXHandler
sax
;
}
saxreader
;
...
...
@@ -115,6 +116,9 @@ static ULONG WINAPI saxxmlreader_Release(
if
(
This
->
contentHandler
)
ISAXContentHandler_Release
(
This
->
contentHandler
);
if
(
This
->
errorHandler
)
ISAXErrorHandler_Release
(
This
->
errorHandler
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -569,8 +573,14 @@ static HRESULT WINAPI isaxxmlreader_putErrorHandler(
{
saxreader
*
This
=
impl_from_ISAXXMLReader
(
iface
);
FIXME
(
"(%p)->(%p) stub
\n
"
,
This
,
errorHandler
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
errorHandler
);
if
(
errorHandler
)
ISAXErrorHandler_AddRef
(
errorHandler
);
if
(
This
->
errorHandler
)
ISAXErrorHandler_Release
(
This
->
errorHandler
);
This
->
errorHandler
=
errorHandler
;
return
S_OK
;
}
static
HRESULT
WINAPI
isaxxmlreader_getBaseURL
(
...
...
@@ -672,6 +682,7 @@ HRESULT SAXXMLReader_create(IUnknown *pUnkOuter, LPVOID *ppObj)
reader
->
lpSAXXMLReaderVtbl
=
&
isaxreader_vtbl
;
reader
->
ref
=
1
;
reader
->
contentHandler
=
NULL
;
reader
->
errorHandler
=
NULL
;
*
ppObj
=
&
reader
->
lpVtbl
;
...
...
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