shell32: IShellView::ContextSensitiveHelp not implemented.
This commit is contained in:
parent
acdce245ae
commit
1f6c759e0c
@ -1807,12 +1807,10 @@ static HRESULT WINAPI IShellView_fnGetWindow(IShellView2 * iface,HWND * phWnd)
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView2 * iface,BOOL fEnterMode)
|
static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView2 *iface, BOOL mode)
|
||||||
{
|
{
|
||||||
IShellViewImpl *This = (IShellViewImpl *)iface;
|
IShellViewImpl *This = (IShellViewImpl *)iface;
|
||||||
|
TRACE("(%p)->(%d)\n", This, mode);
|
||||||
FIXME("(%p) stub\n",This);
|
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3074,7 +3072,7 @@ static HRESULT WINAPI IShellFolderView_fnGetSelectedObjects(
|
|||||||
*pidl = LocalAlloc(0, *items*sizeof(LPITEMIDLIST));
|
*pidl = LocalAlloc(0, *items*sizeof(LPITEMIDLIST));
|
||||||
if (!*pidl) return E_OUTOFMEMORY;
|
if (!*pidl) return E_OUTOFMEMORY;
|
||||||
|
|
||||||
/* it's documented that caller shouldn't PIDLs, only array itself */
|
/* it's documented that caller shouldn't free PIDLs, only array itself */
|
||||||
memcpy((PITEMID_CHILD*)*pidl, This->apidl, *items*sizeof(LPITEMIDLIST));
|
memcpy((PITEMID_CHILD*)*pidl, This->apidl, *items*sizeof(LPITEMIDLIST));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -587,6 +587,28 @@ static void test_IShellFolderView(void)
|
|||||||
IShellFolder_Release(desktop);
|
IShellFolder_Release(desktop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void test_IOleWindow(void)
|
||||||
|
{
|
||||||
|
IShellFolder *desktop;
|
||||||
|
IShellView *view;
|
||||||
|
HRESULT hr;
|
||||||
|
|
||||||
|
hr = SHGetDesktopFolder(&desktop);
|
||||||
|
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
||||||
|
|
||||||
|
hr = IShellFolder_CreateViewObject(desktop, NULL, &IID_IShellView, (void**)&view);
|
||||||
|
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
||||||
|
|
||||||
|
/* IShellView::ContextSensitiveHelp */
|
||||||
|
hr = IShellView_ContextSensitiveHelp(view, TRUE);
|
||||||
|
ok(hr == E_NOTIMPL, "got (0x%08x)\n", hr);
|
||||||
|
hr = IShellView_ContextSensitiveHelp(view, FALSE);
|
||||||
|
ok(hr == E_NOTIMPL, "got (0x%08x)\n", hr);
|
||||||
|
|
||||||
|
IShellView_Release(view);
|
||||||
|
IShellFolder_Release(desktop);
|
||||||
|
}
|
||||||
|
|
||||||
START_TEST(shlview)
|
START_TEST(shlview)
|
||||||
{
|
{
|
||||||
OleInitialize(NULL);
|
OleInitialize(NULL);
|
||||||
@ -597,6 +619,7 @@ START_TEST(shlview)
|
|||||||
test_IFolderView();
|
test_IFolderView();
|
||||||
test_GetItemObject();
|
test_GetItemObject();
|
||||||
test_IShellFolderView();
|
test_IShellFolderView();
|
||||||
|
test_IOleWindow();
|
||||||
|
|
||||||
OleUninitialize();
|
OleUninitialize();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user