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
bb684aab
Commit
bb684aab
authored
Jul 02, 2012
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a failure on w2k.
parent
5c4ed986
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+15
-1
No files found.
dlls/shell32/tests/shlfolder.c
View file @
bb684aab
...
...
@@ -73,6 +73,18 @@ static BOOL (WINAPI *pIsWow64Process)(HANDLE, PBOOL);
static
UINT
(
WINAPI
*
pGetSystemWow64DirectoryW
)(
LPWSTR
,
UINT
);
static
HRESULT
(
WINAPI
*
pSHCreateDefaultContextMenu
)(
const
DEFCONTEXTMENU
*
,
REFIID
,
void
**
);
static
const
char
*
debugstr_guid
(
REFIID
riid
)
{
static
char
buf
[
50
];
sprintf
(
buf
,
"{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}"
,
riid
->
Data1
,
riid
->
Data2
,
riid
->
Data3
,
riid
->
Data4
[
0
],
riid
->
Data4
[
1
],
riid
->
Data4
[
2
],
riid
->
Data4
[
3
],
riid
->
Data4
[
4
],
riid
->
Data4
[
5
],
riid
->
Data4
[
6
],
riid
->
Data4
[
7
]);
return
buf
;
}
static
WCHAR
*
make_wstr
(
const
char
*
str
)
{
WCHAR
*
ret
;
...
...
@@ -566,7 +578,9 @@ if (0)
CLSID
id
;
hr
=
IPersist_GetClassID
(
pp
,
&
id
);
ok
(
hr
==
S_OK
,
"Got 0x%08x
\n
"
,
hr
);
ok
(
IsEqualIID
(
&
id
,
&
CLSID_ShellDocObjView
),
"Unexpected classid
\n
"
);
/* CLSID_ShellFSFolder on some w2k systems */
ok
(
IsEqualIID
(
&
id
,
&
CLSID_ShellDocObjView
)
||
broken
(
IsEqualIID
(
&
id
,
&
CLSID_ShellFSFolder
)),
"Unexpected classid %s
\n
"
,
debugstr_guid
(
&
id
));
IPersist_Release
(
pp
);
}
...
...
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