[3/3] msxml3: Make xmlnode_get_specified a stub

André Hentschel nerv at dawncrow.de
Tue Mar 30 12:56:44 CDT 2010


VB6 apps just crash if they try to use such a property, so its better to fake a return value
---
 dlls/msxml3/node.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index bf3452d..55c3161 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -934,8 +934,9 @@ static HRESULT WINAPI xmlnode_get_specified(
     VARIANT_BOOL* isSpecified)
 {
     xmlnode *This = impl_from_IXMLDOMNode( iface );
-    FIXME("(%p)->(%p)\n", This, isSpecified);
-    return E_NOTIMPL;
+    FIXME("(%p)->(%p) stub!\n", This, isSpecified);
+    *isSpecified = VARIANT_TRUE;
+    return S_OK;
 }
 
 static HRESULT WINAPI xmlnode_get_definition(
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list