Piotr Caban : urlmon: Added Uri IPersistStream_GetClassID implementation.
Alexandre Julliard
julliard at winehq.org
Fri Jan 13 11:44:31 CST 2012
Module: wine
Branch: master
Commit: 28e95dfbed2912b8753f9da25200e3e276579b62
URL: http://source.winehq.org/git/wine.git/?a=commit;h=28e95dfbed2912b8753f9da25200e3e276579b62
Author: Piotr Caban <piotr at codeweavers.com>
Date: Fri Jan 13 14:30:38 2012 +0100
urlmon: Added Uri IPersistStream_GetClassID implementation.
---
dlls/urlmon/uri.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 1638e74..6ee4ce7 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -5137,8 +5137,13 @@ static ULONG WINAPI PersistStream_Release(IPersistStream *iface)
static HRESULT WINAPI PersistStream_GetClassID(IPersistStream *iface, CLSID *pClassID)
{
Uri *This = impl_from_IPersistStream(iface);
- FIXME("(%p)->(%p)\n", This, pClassID);
- return E_NOTIMPL;
+ TRACE("(%p)->(%p)\n", This, pClassID);
+
+ if(!pClassID)
+ return E_INVALIDARG;
+
+ *pClassID = CLSID_CUri;
+ return S_OK;
}
static HRESULT WINAPI PersistStream_IsDirty(IPersistStream *iface)
More information about the wine-cvs
mailing list