Robert Shearman : oleaut32: Implement GetClassID for the OLE picture class.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 14 10:50:31 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ebea92739c4676e368786290c8fb19fe3e72e18b
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ebea92739c4676e368786290c8fb19fe3e72e18b

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri Jul 14 00:02:36 2006 +0100

oleaut32: Implement GetClassID for the OLE picture class.

---

 dlls/oleaut32/olepicture.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 9130027..2349b31 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -921,9 +921,9 @@ static ULONG WINAPI OLEPictureImpl_IPers
 static HRESULT WINAPI OLEPictureImpl_GetClassID(
   IPersistStream* iface,CLSID* pClassID)
 {
-  OLEPictureImpl *This = impl_from_IPersistStream(iface);
-  FIXME("(%p),stub!\n",This);
-  return E_FAIL;
+  TRACE("(%p)\n", pClassID);
+  memcpy(pClassID, &CLSID_StdPicture, sizeof(*pClassID));
+  return S_OK;
 }
 
 /************************************************************************




More information about the wine-cvs mailing list