Daniel Jelinski : xolehlp: Stub ITransactionImportWhereabouts.

Alexandre Julliard julliard at winehq.org
Wed May 29 14:47:34 CDT 2013


Module: wine
Branch: master
Commit: 79d7e3955012cc57b75229f37c701d92e5cabbf7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=79d7e3955012cc57b75229f37c701d92e5cabbf7

Author: Daniel Jelinski <djelinski1 at gmail.com>
Date:   Sat May  4 19:43:02 2013 +0200

xolehlp: Stub ITransactionImportWhereabouts.

---

 dlls/xolehlp/xolehlp.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c
index 17d7281..595b578 100644
--- a/dlls/xolehlp/xolehlp.c
+++ b/dlls/xolehlp/xolehlp.c
@@ -321,16 +321,21 @@ static ULONG WINAPI TransactionImportWhereabouts_Release(ITransactionImportWhere
 static HRESULT WINAPI TransactionImportWhereabouts_GetWhereaboutsSize(ITransactionImportWhereabouts *iface,
         ULONG *pcbWhereabouts)
 {
-    FIXME("(%p, %p): stub\n", iface, pcbWhereabouts);
+    FIXME("(%p, %p): stub returning fake value\n", iface, pcbWhereabouts);
 
-    return E_NOTIMPL;
+    if (!pcbWhereabouts) return E_INVALIDARG;
+    *pcbWhereabouts = 1;
+    return S_OK;
 }
 static HRESULT WINAPI TransactionImportWhereabouts_GetWhereabouts(ITransactionImportWhereabouts *iface,
         ULONG cbWhereabouts, BYTE *rgbWhereabouts,ULONG *pcbUsed)
 {
-    FIXME("(%p, %u, %p, %p): stub\n", iface, cbWhereabouts, rgbWhereabouts, pcbUsed);
+    FIXME("(%p, %u, %p, %p): stub returning fake value\n", iface, cbWhereabouts, rgbWhereabouts, pcbUsed);
 
-    return E_NOTIMPL;
+    if (!rgbWhereabouts || !pcbUsed) return E_INVALIDARG;
+    *rgbWhereabouts = 0;
+    *pcbUsed = 1;
+    return S_OK;
 }
 static const ITransactionImportWhereaboutsVtbl TransactionImportWhereabouts_Vtbl = {
     TransactionImportWhereabouts_QueryInterface,




More information about the wine-cvs mailing list