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
aa707ec2
Commit
aa707ec2
authored
Dec 31, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom.ocx: Implement IWshCollection::Item() for public desktop case.
parent
4a068c64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
shell.c
dlls/wshom.ocx/shell.c
+3
-0
No files found.
dlls/wshom.ocx/shell.c
View file @
aa707ec2
...
...
@@ -170,6 +170,7 @@ static HRESULT WINAPI WshCollection_Invoke(IWshCollection *iface, DISPID dispIdM
static
HRESULT
WINAPI
WshCollection_Item
(
IWshCollection
*
iface
,
VARIANT
*
index
,
VARIANT
*
value
)
{
WshCollection
*
This
=
impl_from_IWshCollection
(
iface
);
static
const
WCHAR
allusersdesktopW
[]
=
{
'A'
,
'l'
,
'l'
,
'U'
,
's'
,
'e'
,
'r'
,
's'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
desktopW
[]
=
{
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
PIDLIST_ABSOLUTE
pidl
;
WCHAR
pathW
[
MAX_PATH
];
...
...
@@ -188,6 +189,8 @@ static HRESULT WINAPI WshCollection_Item(IWshCollection *iface, VARIANT *index,
folder
=
V_BSTR
(
index
);
if
(
!
strcmpiW
(
folder
,
desktopW
))
kind
=
CSIDL_DESKTOP
;
else
if
(
!
strcmpiW
(
folder
,
allusersdesktopW
))
kind
=
CSIDL_COMMON_DESKTOPDIRECTORY
;
else
{
FIXME
(
"folder kind %s not supported
\n
"
,
debugstr_w
(
folder
));
...
...
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