xolehlp: Stub ITransactionImportWhereabouts.

This commit is contained in:
Daniel Jelinski 2013-05-04 19:43:02 +02:00 committed by Alexandre Julliard
parent 1fca23e637
commit 79d7e39550
1 changed files with 9 additions and 4 deletions

View File

@ -321,16 +321,21 @@ static ULONG WINAPI TransactionImportWhereabouts_Release(ITransactionImportWhere
static HRESULT WINAPI TransactionImportWhereabouts_GetWhereaboutsSize(ITransactionImportWhereabouts *iface, static HRESULT WINAPI TransactionImportWhereabouts_GetWhereaboutsSize(ITransactionImportWhereabouts *iface,
ULONG *pcbWhereabouts) 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, static HRESULT WINAPI TransactionImportWhereabouts_GetWhereabouts(ITransactionImportWhereabouts *iface,
ULONG cbWhereabouts, BYTE *rgbWhereabouts,ULONG *pcbUsed) 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 = { static const ITransactionImportWhereaboutsVtbl TransactionImportWhereabouts_Vtbl = {
TransactionImportWhereabouts_QueryInterface, TransactionImportWhereabouts_QueryInterface,