[PSDK][ACTXPROXY] Add IExplorerCommand and related classes (Vista+)
[reactos.git] / dll / win32 / actxprxy / usrmarshal.c
index 9b3bb8b..d61a37e 100644 (file)
@@ -200,6 +200,36 @@ HRESULT __RPC_STUB IEnumShellItems_Next_Stub(
     return hr;
 }
 
+#ifdef __REACTOS__
+
+HRESULT CALLBACK IEnumExplorerCommand_Next_Proxy(
+    IEnumExplorerCommand *This,
+    ULONG celt,
+    IExplorerCommand **pUICommand,
+    ULONG *pceltFetched)
+{
+    ULONG fetched;
+    TRACE("(%p)->(%d, %p, %p)\n", This, celt, pUICommand, pceltFetched);
+    if (!pceltFetched) pceltFetched = &fetched;
+    return IEnumExplorerCommand_RemoteNext_Proxy(This, celt, pUICommand, pceltFetched);
+}
+
+HRESULT __RPC_STUB IEnumExplorerCommand_Next_Stub(
+    IEnumExplorerCommand *This,
+    ULONG celt,
+    IExplorerCommand **pUICommand,
+    ULONG *pceltFetched)
+{
+    HRESULT hr;
+    TRACE("(%p)->(%d, %p, %p)\n", This, celt, pUICommand, pceltFetched);
+    *pceltFetched = 0;
+    hr = IEnumExplorerCommand_Next(This, celt, pUICommand, pceltFetched);
+    if (hr == S_OK) *pceltFetched = celt;
+    return hr;
+}
+
+#endif // __REACTOS__
+
 HRESULT CALLBACK IModalWindow_Show_Proxy(
     IModalWindow *This,
     HWND hwndOwner)
@@ -215,3 +245,21 @@ HRESULT __RPC_STUB IModalWindow_Show_Stub(
     TRACE("(%p)->(%p)\n", This, hwndOwner);
     return IModalWindow_Show(This, hwndOwner);
 }
+
+HRESULT __RPC_STUB IFolderView2_GetGroupBy_Stub(
+    IFolderView2 *This,
+    PROPERTYKEY *pkey,
+    BOOL *ascending)
+{
+    TRACE("(%p)->(%p %p)\n", This, pkey, ascending);
+    return IFolderView2_GetGroupBy(This, pkey, ascending);
+}
+
+HRESULT __RPC_STUB IFolderView2_GetGroupBy_Proxy(
+    IFolderView2 *This,
+    PROPERTYKEY *pkey,
+    BOOL *ascending)
+{
+    TRACE("(%p)->(%p %p)\n", This, pkey, ascending);
+    return IFolderView2_RemoteGetGroupBy_Proxy(This, pkey, ascending);
+}