Commit 5cfb3c4a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

shell32: Add IShellView32 stubs.

parent 6176cf4e
...@@ -78,7 +78,7 @@ typedef struct ...@@ -78,7 +78,7 @@ typedef struct
typedef struct typedef struct
{ {
const IShellViewVtbl* lpVtbl; const IShellView2Vtbl* lpVtbl;
LONG ref; LONG ref;
const IOleCommandTargetVtbl* lpvtblOleCommandTarget; const IOleCommandTargetVtbl* lpvtblOleCommandTarget;
const IDropTargetVtbl* lpvtblDropTarget; const IDropTargetVtbl* lpvtblDropTarget;
...@@ -109,7 +109,7 @@ typedef struct ...@@ -109,7 +109,7 @@ typedef struct
POINT ptLastMousePos; /* Mouse position at last DragOver call */ POINT ptLastMousePos; /* Mouse position at last DragOver call */
} IShellViewImpl; } IShellViewImpl;
static const IShellViewVtbl svvt; static const IShellView2Vtbl svvt;
static const IOleCommandTargetVtbl ctvt; static const IOleCommandTargetVtbl ctvt;
static const IDropTargetVtbl dtvt; static const IDropTargetVtbl dtvt;
static const IDropSourceVtbl dsvt; static const IDropSourceVtbl dsvt;
...@@ -1668,7 +1668,7 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara ...@@ -1668,7 +1668,7 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara
********************************************************** **********************************************************
* IShellView_QueryInterface * IShellView_QueryInterface
*/ */
static HRESULT WINAPI IShellView_fnQueryInterface(IShellView * iface,REFIID riid, LPVOID *ppvObj) static HRESULT WINAPI IShellView_fnQueryInterface(IShellView2 * iface,REFIID riid, LPVOID *ppvObj)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1714,7 +1714,7 @@ static HRESULT WINAPI IShellView_fnQueryInterface(IShellView * iface,REFIID riid ...@@ -1714,7 +1714,7 @@ static HRESULT WINAPI IShellView_fnQueryInterface(IShellView * iface,REFIID riid
/********************************************************** /**********************************************************
* IShellView_AddRef * IShellView_AddRef
*/ */
static ULONG WINAPI IShellView_fnAddRef(IShellView * iface) static ULONG WINAPI IShellView_fnAddRef(IShellView2 * iface)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
ULONG refCount = InterlockedIncrement(&This->ref); ULONG refCount = InterlockedIncrement(&This->ref);
...@@ -1726,7 +1726,7 @@ static ULONG WINAPI IShellView_fnAddRef(IShellView * iface) ...@@ -1726,7 +1726,7 @@ static ULONG WINAPI IShellView_fnAddRef(IShellView * iface)
/********************************************************** /**********************************************************
* IShellView_Release * IShellView_Release
*/ */
static ULONG WINAPI IShellView_fnRelease(IShellView * iface) static ULONG WINAPI IShellView_fnRelease(IShellView2 * iface)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
ULONG refCount = InterlockedDecrement(&This->ref); ULONG refCount = InterlockedDecrement(&This->ref);
...@@ -1758,7 +1758,7 @@ static ULONG WINAPI IShellView_fnRelease(IShellView * iface) ...@@ -1758,7 +1758,7 @@ static ULONG WINAPI IShellView_fnRelease(IShellView * iface)
/********************************************************** /**********************************************************
* ShellView_GetWindow * ShellView_GetWindow
*/ */
static HRESULT WINAPI IShellView_fnGetWindow(IShellView * iface,HWND * phWnd) static HRESULT WINAPI IShellView_fnGetWindow(IShellView2 * iface,HWND * phWnd)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1769,7 +1769,7 @@ static HRESULT WINAPI IShellView_fnGetWindow(IShellView * iface,HWND * phWnd) ...@@ -1769,7 +1769,7 @@ static HRESULT WINAPI IShellView_fnGetWindow(IShellView * iface,HWND * phWnd)
return S_OK; return S_OK;
} }
static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView * iface,BOOL fEnterMode) static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView2 * iface,BOOL fEnterMode)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1784,7 +1784,7 @@ static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView * iface,BOOL ...@@ -1784,7 +1784,7 @@ static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView * iface,BOOL
* FIXME: * FIXME:
* use the accel functions * use the accel functions
*/ */
static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG lpmsg) static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView2 * iface,LPMSG lpmsg)
{ {
#if 0 #if 0
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1799,7 +1799,7 @@ static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG ...@@ -1799,7 +1799,7 @@ static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG
return S_FALSE; /* not handled */ return S_FALSE; /* not handled */
} }
static HRESULT WINAPI IShellView_fnEnableModeless(IShellView * iface,BOOL fEnable) static HRESULT WINAPI IShellView_fnEnableModeless(IShellView2 * iface,BOOL fEnable)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1808,7 +1808,7 @@ static HRESULT WINAPI IShellView_fnEnableModeless(IShellView * iface,BOOL fEnabl ...@@ -1808,7 +1808,7 @@ static HRESULT WINAPI IShellView_fnEnableModeless(IShellView * iface,BOOL fEnabl
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI IShellView_fnUIActivate(IShellView * iface,UINT uState) static HRESULT WINAPI IShellView_fnUIActivate(IShellView2 * iface,UINT uState)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1851,7 +1851,7 @@ static HRESULT WINAPI IShellView_fnUIActivate(IShellView * iface,UINT uState) ...@@ -1851,7 +1851,7 @@ static HRESULT WINAPI IShellView_fnUIActivate(IShellView * iface,UINT uState)
return S_OK; return S_OK;
} }
static HRESULT WINAPI IShellView_fnRefresh(IShellView * iface) static HRESULT WINAPI IShellView_fnRefresh(IShellView2 * iface)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1864,7 +1864,7 @@ static HRESULT WINAPI IShellView_fnRefresh(IShellView * iface) ...@@ -1864,7 +1864,7 @@ static HRESULT WINAPI IShellView_fnRefresh(IShellView * iface)
} }
static HRESULT WINAPI IShellView_fnCreateViewWindow( static HRESULT WINAPI IShellView_fnCreateViewWindow(
IShellView * iface, IShellView2 * iface,
IShellView *lpPrevView, IShellView *lpPrevView,
LPCFOLDERSETTINGS lpfs, LPCFOLDERSETTINGS lpfs,
IShellBrowser * psb, IShellBrowser * psb,
...@@ -1938,7 +1938,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow( ...@@ -1938,7 +1938,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow(
return S_OK; return S_OK;
} }
static HRESULT WINAPI IShellView_fnDestroyViewWindow(IShellView * iface) static HRESULT WINAPI IShellView_fnDestroyViewWindow(IShellView2 * iface)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1960,7 +1960,7 @@ static HRESULT WINAPI IShellView_fnDestroyViewWindow(IShellView * iface) ...@@ -1960,7 +1960,7 @@ static HRESULT WINAPI IShellView_fnDestroyViewWindow(IShellView * iface)
return S_OK; return S_OK;
} }
static HRESULT WINAPI IShellView_fnGetCurrentInfo(IShellView * iface, LPFOLDERSETTINGS lpfs) static HRESULT WINAPI IShellView_fnGetCurrentInfo(IShellView2 * iface, LPFOLDERSETTINGS lpfs)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1973,7 +1973,7 @@ static HRESULT WINAPI IShellView_fnGetCurrentInfo(IShellView * iface, LPFOLDERSE ...@@ -1973,7 +1973,7 @@ static HRESULT WINAPI IShellView_fnGetCurrentInfo(IShellView * iface, LPFOLDERSE
return NOERROR; return NOERROR;
} }
static HRESULT WINAPI IShellView_fnAddPropertySheetPages(IShellView * iface, DWORD dwReserved,LPFNADDPROPSHEETPAGE lpfn, LPARAM lparam) static HRESULT WINAPI IShellView_fnAddPropertySheetPages(IShellView2 * iface, DWORD dwReserved,LPFNADDPROPSHEETPAGE lpfn, LPARAM lparam)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1982,7 +1982,7 @@ static HRESULT WINAPI IShellView_fnAddPropertySheetPages(IShellView * iface, DWO ...@@ -1982,7 +1982,7 @@ static HRESULT WINAPI IShellView_fnAddPropertySheetPages(IShellView * iface, DWO
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI IShellView_fnSaveViewState(IShellView * iface) static HRESULT WINAPI IShellView_fnSaveViewState(IShellView2 * iface)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -1992,7 +1992,7 @@ static HRESULT WINAPI IShellView_fnSaveViewState(IShellView * iface) ...@@ -1992,7 +1992,7 @@ static HRESULT WINAPI IShellView_fnSaveViewState(IShellView * iface)
} }
static HRESULT WINAPI IShellView_fnSelectItem( static HRESULT WINAPI IShellView_fnSelectItem(
IShellView * iface, IShellView2 * iface,
LPCITEMIDLIST pidl, LPCITEMIDLIST pidl,
UINT uFlags) UINT uFlags)
{ {
...@@ -2044,7 +2044,7 @@ static HRESULT WINAPI IShellView_fnSelectItem( ...@@ -2044,7 +2044,7 @@ static HRESULT WINAPI IShellView_fnSelectItem(
return S_OK; return S_OK;
} }
static HRESULT WINAPI IShellView_fnGetItemObject(IShellView * iface, UINT uItem, REFIID riid, LPVOID *ppvOut) static HRESULT WINAPI IShellView_fnGetItemObject(IShellView2 * iface, UINT uItem, REFIID riid, LPVOID *ppvOut)
{ {
IShellViewImpl *This = (IShellViewImpl *)iface; IShellViewImpl *This = (IShellViewImpl *)iface;
...@@ -2070,7 +2070,31 @@ static HRESULT WINAPI IShellView_fnGetItemObject(IShellView * iface, UINT uItem, ...@@ -2070,7 +2070,31 @@ static HRESULT WINAPI IShellView_fnGetItemObject(IShellView * iface, UINT uItem,
return S_OK; return S_OK;
} }
static const IShellViewVtbl svvt = static HRESULT WINAPI IShellView2_fnGetView(IShellView2* iface, SHELLVIEWID *view_guid, ULONG view_type)
{
FIXME("(%p)->(view_guid %s, view_type %#x) stub!\n", iface, debugstr_guid(view_guid), view_type);
return E_NOTIMPL;
}
static HRESULT WINAPI IShellView2_fnCreateViewWindow2(IShellView2* iface, LPSV2CVW2_PARAMS view_params)
{
FIXME("(%p)->(view_params %p) stub!\n", iface, view_params);
return E_NOTIMPL;
}
static HRESULT WINAPI IShellView2_fnHandleRename(IShellView2* iface, LPCITEMIDLIST new_pidl)
{
FIXME("(%p)->(new_pidl %p) stub!\n", iface, new_pidl);
return E_NOTIMPL;
}
static HRESULT WINAPI IShellView2_fnSelectAndPositionItem(IShellView2* iface, LPCITEMIDLIST item, UINT flags, POINT *point)
{
FIXME("(%p)->(item %p, flags %#x, point %p) stub!\n", iface, item, flags, point);
return E_NOTIMPL;
}
static const IShellView2Vtbl svvt =
{ {
IShellView_fnQueryInterface, IShellView_fnQueryInterface,
IShellView_fnAddRef, IShellView_fnAddRef,
...@@ -2087,7 +2111,11 @@ static const IShellViewVtbl svvt = ...@@ -2087,7 +2111,11 @@ static const IShellViewVtbl svvt =
IShellView_fnAddPropertySheetPages, IShellView_fnAddPropertySheetPages,
IShellView_fnSaveViewState, IShellView_fnSaveViewState,
IShellView_fnSelectItem, IShellView_fnSelectItem,
IShellView_fnGetItemObject IShellView_fnGetItemObject,
IShellView2_fnGetView,
IShellView2_fnCreateViewWindow2,
IShellView2_fnHandleRename,
IShellView2_fnSelectAndPositionItem,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment