Re: [PATCH 2/5] include: Add IEnumShellItems interface declaration.
On 11 Jun 2010, at 12:17, David Hedberg <david.hedberg(a)gmail.com> wrote:
--- dlls/actxprxy/usrmarshal.c | 21 +++++++++++++++++++++ include/shobjidl.idl | 30 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/dlls/actxprxy/usrmarshal.c b/dlls/actxprxy/usrmarshal.c index f2aacf8..85e534c 100644 --- a/dlls/actxprxy/usrmarshal.c +++ b/dlls/actxprxy/usrmarshal.c + +HRESULT CALLBACK IEnumShellItems_Next_Proxy( + IEnumShellItems *This, + ULONG celt, + IShellItem **rgelt, + ULONG *pceltFetched) +{ + TRACE("(%p)\n", This); + return IEnumShellItems_RemoteNext_Proxy( This, celt, rgelt, pceltFetched ); +}
pceltFetched could be a NULL ptr here, so you should pass the address of a local variable in that case. See ole32/usrmarshal.c for examples on how to marshal IEnum*_Next Huw.
participants (1)
-
Huw Davies