From 79d7e3955012cc57b75229f37c701d92e5cabbf7 Mon Sep 17 00:00:00 2001 From: Daniel Jelinski Date: Sat, 4 May 2013 19:43:02 +0200 Subject: [PATCH] xolehlp: Stub ITransactionImportWhereabouts. --- dlls/xolehlp/xolehlp.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c index 17d7281cc1c..595b5788133 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,