Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1f6c759e
Commit
1f6c759e
authored
Mar 23, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: IShellView::ContextSensitiveHelp not implemented.
parent
acdce245
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
shlview.c
dlls/shell32/shlview.c
+3
-5
shlview.c
dlls/shell32/tests/shlview.c
+23
-0
No files found.
dlls/shell32/shlview.c
View file @
1f6c759e
...
...
@@ -1807,12 +1807,10 @@ static HRESULT WINAPI IShellView_fnGetWindow(IShellView2 * iface,HWND * phWnd)
return
S_OK
;
}
static
HRESULT
WINAPI
IShellView_fnContextSensitiveHelp
(
IShellView2
*
iface
,
BOOL
fEnterM
ode
)
static
HRESULT
WINAPI
IShellView_fnContextSensitiveHelp
(
IShellView2
*
iface
,
BOOL
m
ode
)
{
IShellViewImpl
*
This
=
(
IShellViewImpl
*
)
iface
;
FIXME
(
"(%p) stub
\n
"
,
This
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
mode
);
return
E_NOTIMPL
;
}
...
...
@@ -3074,7 +3072,7 @@ static HRESULT WINAPI IShellFolderView_fnGetSelectedObjects(
*
pidl
=
LocalAlloc
(
0
,
*
items
*
sizeof
(
LPITEMIDLIST
));
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
));
}
...
...
dlls/shell32/tests/shlview.c
View file @
1f6c759e
...
...
@@ -587,6 +587,28 @@ static void test_IShellFolderView(void)
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
)
{
OleInitialize
(
NULL
);
...
...
@@ -597,6 +619,7 @@ START_TEST(shlview)
test_IFolderView
();
test_GetItemObject
();
test_IShellFolderView
();
test_IOleWindow
();
OleUninitialize
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment