[PATCH] Implement XMLDocument->IPersistStream->GetClassID

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Jan 13 22:35:02 CST 2008


---
 dlls/msxml3/domdoc.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 15772e5..2334bb3 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -246,8 +246,14 @@ static ULONG WINAPI xmldoc_IPersistStream_Release(
 static HRESULT WINAPI xmldoc_IPersistStream_GetClassID(
     IPersistStream *iface, CLSID *classid)
 {
-    FIXME("(%p,%p): stub!\n", iface, classid);
-    return E_NOTIMPL;
+    TRACE("(%p,%p): stub!\n", iface, classid);
+
+    if(!classid)
+        return E_POINTER;
+        
+    *classid = CLSID_DOMDocument2;
+    
+    return S_OK;
 }
 
 static HRESULT WINAPI xmldoc_IPersistStream_IsDirty(
-- 
1.5.3.7


--------------050607040206030100010704--




More information about the wine-patches mailing list