Commit 78e0f23b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msxml3: Stub out some more getters and setters of IXMLDOMDocument.

parent ae1fde03
...@@ -166,6 +166,9 @@ typedef struct _domdoc ...@@ -166,6 +166,9 @@ typedef struct _domdoc
const struct IXMLDOMDocumentVtbl *lpVtbl; const struct IXMLDOMDocumentVtbl *lpVtbl;
LONG ref; LONG ref;
VARIANT_BOOL async; VARIANT_BOOL async;
VARIANT_BOOL validating;
VARIANT_BOOL resolving;
VARIANT_BOOL preserving;
IUnknown *node_unk; IUnknown *node_unk;
IXMLDOMNode *node; IXMLDOMNode *node;
HRESULT error; HRESULT error;
...@@ -1195,8 +1198,11 @@ static HRESULT WINAPI domdoc_get_validateOnParse( ...@@ -1195,8 +1198,11 @@ static HRESULT WINAPI domdoc_get_validateOnParse(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL* isValidating ) VARIANT_BOOL* isValidating )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%p <- %d\n", isValidating, This->validating);
*isValidating = This->validating;
return S_OK;
} }
...@@ -1204,8 +1210,11 @@ static HRESULT WINAPI domdoc_put_validateOnParse( ...@@ -1204,8 +1210,11 @@ static HRESULT WINAPI domdoc_put_validateOnParse(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL isValidating ) VARIANT_BOOL isValidating )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%d\n", isValidating);
This->validating = isValidating;
return S_OK;
} }
...@@ -1213,17 +1222,23 @@ static HRESULT WINAPI domdoc_get_resolveExternals( ...@@ -1213,17 +1222,23 @@ static HRESULT WINAPI domdoc_get_resolveExternals(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL* isResolving ) VARIANT_BOOL* isResolving )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%p <- %d\n", isResolving, This->resolving);
*isResolving = This->resolving;
return S_OK;
} }
static HRESULT WINAPI domdoc_put_resolveExternals( static HRESULT WINAPI domdoc_put_resolveExternals(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL isValidating ) VARIANT_BOOL isResolving )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%d\n", isResolving);
This->resolving = isResolving;
return S_OK;
} }
...@@ -1231,8 +1246,11 @@ static HRESULT WINAPI domdoc_get_preserveWhiteSpace( ...@@ -1231,8 +1246,11 @@ static HRESULT WINAPI domdoc_get_preserveWhiteSpace(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL* isPreserving ) VARIANT_BOOL* isPreserving )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%p <- %d\n", isPreserving, This->preserving);
*isPreserving = This->preserving;
return S_OK;
} }
...@@ -1240,8 +1258,11 @@ static HRESULT WINAPI domdoc_put_preserveWhiteSpace( ...@@ -1240,8 +1258,11 @@ static HRESULT WINAPI domdoc_put_preserveWhiteSpace(
IXMLDOMDocument *iface, IXMLDOMDocument *iface,
VARIANT_BOOL isPreserving ) VARIANT_BOOL isPreserving )
{ {
FIXME("\n"); domdoc *This = impl_from_IXMLDOMDocument( iface );
return E_NOTIMPL;
TRACE("%d\n", isPreserving);
This->preserving = isPreserving;
return S_OK;
} }
...@@ -1365,6 +1386,9 @@ HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj) ...@@ -1365,6 +1386,9 @@ HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj)
doc->lpVtbl = &domdoc_vtbl; doc->lpVtbl = &domdoc_vtbl;
doc->ref = 1; doc->ref = 1;
doc->async = 0; doc->async = 0;
doc->validating = 0;
doc->resolving = 0;
doc->preserving = 0;
doc->error = S_OK; doc->error = S_OK;
xmldoc = xmlNewDoc(NULL); xmldoc = xmlNewDoc(NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment