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
1d3edf63
Commit
1d3edf63
authored
Apr 07, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Apr 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix PropertyBag test on Win2k.
parent
eb57396f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
shlfolder.c
dlls/shell32/tests/shlfolder.c
+6
-2
No files found.
dlls/shell32/tests/shlfolder.c
View file @
1d3edf63
...
...
@@ -1106,7 +1106,9 @@ static HRESULT WINAPI InitPropertyBag_IPropertyBag_Read(IPropertyBag *iface, LPC
'R'
,
'e'
,
's'
,
'o'
,
'l'
,
'v'
,
'e'
,
'L'
,
'i'
,
'n'
,
'k'
,
'F'
,
'l'
,
'a'
,
'g'
,
's'
,
0
};
if
(
!
lstrcmpW
(
pszPropName
,
wszTargetSpecialFolder
))
{
ok
(
V_VT
(
pVar
)
==
VT_I4
,
"Wrong variant type for 'TargetSpecialFolder' property!
\n
"
);
ok
(
V_VT
(
pVar
)
==
VT_I4
||
broken
(
V_VT
(
pVar
)
==
VT_BSTR
),
/* Win2k */
"Wrong variant type for 'TargetSpecialFolder' property!
\n
"
);
return
E_INVALIDARG
;
}
...
...
@@ -1120,7 +1122,9 @@ static HRESULT WINAPI InitPropertyBag_IPropertyBag_Read(IPropertyBag *iface, LPC
WCHAR
wszPath
[
MAX_PATH
];
BOOL
result
;
ok
(
V_VT
(
pVar
)
==
VT_BSTR
,
"Wrong variant type for 'Target' property!
\n
"
);
ok
(
V_VT
(
pVar
)
==
VT_BSTR
||
broken
(
V_VT
(
pVar
)
==
VT_EMPTY
),
/* Win2k */
"Wrong variant type for 'Target' property!
\n
"
);
if
(
V_VT
(
pVar
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
result
=
pSHGetSpecialFolderPathW
(
NULL
,
wszPath
,
CSIDL_DESKTOPDIRECTORY
,
FALSE
);
...
...
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