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
ba139940
Commit
ba139940
authored
Oct 07, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Win64 printf format warning fixes.
parent
a8ccd581
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/shdocvw/tests/Makefile.in
+0
-1
shortcut.c
dlls/shdocvw/tests/shortcut.c
+6
-6
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+0
-0
No files found.
dlls/shdocvw/tests/Makefile.in
View file @
ba139940
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
TESTDLL
=
shdocvw.dll
IMPORTS
=
shell32 ole32 user32 advapi32 kernel32
EXTRALIBS
=
-luuid
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
CTESTS
=
\
shortcut.c
\
...
...
dlls/shdocvw/tests/shortcut.c
View file @
ba139940
...
...
@@ -173,13 +173,13 @@ static void test_ShortcutFolder(void) {
register_keys
(
HKEY_CLASSES_ROOT
,
HKEY_CLASSES_ROOT_keys
,
1
);
hr
=
SHGetDesktopFolder
(
&
pDesktopFolder
);
ok
(
SUCCEEDED
(
hr
),
"SHGetDesktopFolder failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"SHGetDesktopFolder failed! hr = %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
/* Convert the wszWineTestFolder string to an ITEMIDLIST. */
hr
=
IShellFolder_ParseDisplayName
(
pDesktopFolder
,
NULL
,
NULL
,
wszWineTestFolder
,
NULL
,
&
pidlWineTestFolder
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::ParseDisplayName failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::ParseDisplayName failed! hr = %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
IShellFolder_Release
(
pDesktopFolder
);
goto
cleanup
;
...
...
@@ -191,22 +191,22 @@ static void test_ShortcutFolder(void) {
(
LPVOID
*
)
&
pWineTestFolder
);
IShellFolder_Release
(
pDesktopFolder
);
ILFree
(
pidlWineTestFolder
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::BindToObject(WineTestFolder) failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::BindToObject(WineTestFolder) failed! hr = %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
IShellFolder_QueryInterface
(
pWineTestFolder
,
&
IID_IPersistFolder3
,
(
LPVOID
*
)
&
pWineTestPersistFolder
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::QueryInterface(IPersistFolder3) failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IShellFolder::QueryInterface(IPersistFolder3) failed! hr = %08x
\n
"
,
hr
);
IShellFolder_Release
(
pWineTestFolder
);
if
(
FAILED
(
hr
))
goto
cleanup
;
/* The resulting folder object has the FolderShortcut CLSID, instead of it's own. */
hr
=
IPersistFolder3_GetClassID
(
pWineTestPersistFolder
,
&
clsid
);
ok
(
SUCCEEDED
(
hr
),
"IPersist::GetClassID failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IPersist::GetClassID failed! hr = %08x
\n
"
,
hr
);
ok
(
IsEqualCLSID
(
&
CLSID_FolderShortcut
,
&
clsid
),
"GetClassId returned wrong CLSID!
\n
"
);
pidlCurFolder
=
(
LPITEMIDLIST
)
0xdeadbeef
;
hr
=
IPersistFolder3_GetCurFolder
(
pWineTestPersistFolder
,
&
pidlCurFolder
);
ok
(
SUCCEEDED
(
hr
),
"IPersistFolder3::GetCurFolder failed! hr = %08
l
x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IPersistFolder3::GetCurFolder failed! hr = %08x
\n
"
,
hr
);
ok
(
pidlCurFolder
->
mkid
.
cb
==
20
&&
((
LPSHITEMID
)((
BYTE
*
)
pidlCurFolder
+
20
))
->
cb
==
0
&&
IsEqualCLSID
(
&
CLSID_WineTest
,
(
REFCLSID
)((
LPBYTE
)
pidlCurFolder
+
4
)),
"GetCurFolder returned unexpected pidl!
\n
"
);
...
...
dlls/shdocvw/tests/webbrowser.c
View file @
ba139940
This diff is collapsed.
Click to expand it.
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