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
7f2d4f29
Commit
7f2d4f29
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 common programs folders.
parent
aa707ec2
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 @
7f2d4f29
...
...
@@ -171,6 +171,7 @@ static HRESULT WINAPI WshCollection_Item(IWshCollection *iface, VARIANT *index,
{
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
allusersprogramsW
[]
=
{
'A'
,
'l'
,
'l'
,
'U'
,
's'
,
'e'
,
'r'
,
's'
,
'P'
,
'r'
,
'o'
,
'g'
,
'r'
,
'a'
,
'm'
,
's'
,
0
};
static
const
WCHAR
desktopW
[]
=
{
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
PIDLIST_ABSOLUTE
pidl
;
WCHAR
pathW
[
MAX_PATH
];
...
...
@@ -191,6 +192,8 @@ static HRESULT WINAPI WshCollection_Item(IWshCollection *iface, VARIANT *index,
kind
=
CSIDL_DESKTOP
;
else
if
(
!
strcmpiW
(
folder
,
allusersdesktopW
))
kind
=
CSIDL_COMMON_DESKTOPDIRECTORY
;
else
if
(
!
strcmpiW
(
folder
,
allusersprogramsW
))
kind
=
CSIDL_COMMON_PROGRAMS
;
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