From 1ef0d39c663fb514e18afe3cf611bcdfc8b55ee1 Mon Sep 17 00:00:00 2001
From: Marcus Meissner <marcus@jet.franken.de>
Date: Sat, 14 Jul 2001 00:47:52 +0000
Subject: [PATCH] Made some FIXME()s print the respective strings passed.
 Changed StgSetTimes() to correct type.

---
 dlls/ole32/ole32.spec   |  2 +-
 dlls/ole32/storage32.c  | 11 +++++------
 dlls/oleaut32/olefont.c |  5 +++--
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index cd9e36d5bfd..7b187a1732e 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -161,7 +161,7 @@ debug_channels (accel ole relay storage)
 147 stdcall StgIsStorageILockBytes(ptr) StgIsStorageILockBytes
 148 stdcall StgOpenStorage(wstr ptr long ptr long ptr) StgOpenStorage
 149 stdcall StgOpenStorageOnILockBytes(ptr ptr long long long ptr) StgOpenStorageOnILockBytes
-150 stdcall StgSetTimes(ptr ptr ptr ptr ) StgSetTimes
+150 stdcall StgSetTimes(wstr ptr ptr ptr ) StgSetTimes
 151 stdcall StringFromCLSID(ptr ptr) StringFromCLSID
 152 stdcall StringFromGUID2(ptr ptr long) StringFromGUID2
 153 stdcall StringFromIID(ptr ptr) StringFromCLSID
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index b37453cb542..9da7aebdbe5 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -2075,8 +2075,8 @@ HRESULT WINAPI StorageImpl_SetElementTimes(
   const FILETIME  *patime,  /* [in] */ 
   const FILETIME  *pmtime)  /* [in] */ 
 {
-  FIXME("not implemented!\n");
-  return E_NOTIMPL;
+  FIXME("(%s,...), stub!\n",debugstr_w(pwcsName));
+  return S_OK;
 }
 
 /******************************************************************************
@@ -5625,11 +5625,10 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(
  *
  *
  */
-HRESULT WINAPI StgSetTimes(WCHAR * str, FILETIME * a, FILETIME * b, FILETIME *c )
+HRESULT WINAPI StgSetTimes(OLECHAR *str, FILETIME *a, FILETIME *b, FILETIME *c )
 {
- 
-  FIXME("(%p, %p, %p, %p),stub!\n", str, a, b, c);
-  return FALSE;
+  FIXME("(%s, %p, %p, %p),stub!\n", debugstr_w(str), a, b, c);
+  return S_OK;
 }
 
 /******************************************************************************
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
index bd74c21e56a..c30679de22c 100644
--- a/dlls/oleaut32/olefont.c
+++ b/dlls/oleaut32/olefont.c
@@ -1197,8 +1197,9 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
   UINT*     puArgErr)
 {
   _ICOM_THIS_From_IDispatch(IFont, iface);
-  FIXME("(%p):Stub\n", this);
-
+  FIXME("%p->(%ld,%s,%lx,%x):Stub\n", this,dispIdMember,debugstr_guid(riid),lcid,
+    wFlags
+  );
   return E_NOTIMPL;
 }
 
-- 
GitLab