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
7f67b35a
Commit
7f67b35a
authored
Sep 07, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace a few more direct lpVtbl accesses by the proper macros.
parent
90b897f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
65 deletions
+70
-65
propset.c
dlls/dsound/tests/propset.c
+23
-22
driveui.c
programs/winecfg/driveui.c
+8
-6
winefile.c
programs/winefile/winefile.c
+39
-37
No files found.
dlls/dsound/tests/propset.c
View file @
7f67b35a
This diff is collapsed.
Click to expand it.
programs/winecfg/driveui.c
View file @
7f67b35a
...
...
@@ -24,6 +24,8 @@
#include <stdarg.h>
#include <stdio.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
...
...
@@ -622,10 +624,10 @@ static void browse_for_folder(HWND dialog)
hr
=
SHGetDesktopFolder
(
&
pDesktop
);
if
(
!
SUCCEEDED
(
hr
))
return
;
hr
=
pDesktop
->
lpVtbl
->
ParseDisplayName
(
pDesktop
,
NULL
,
NULL
,
wszUnixRootDisplayName
,
NULL
,
&
pidlUnixRoot
,
NULL
);
hr
=
IShellFolder_
ParseDisplayName
(
pDesktop
,
NULL
,
NULL
,
wszUnixRootDisplayName
,
NULL
,
&
pidlUnixRoot
,
NULL
);
if
(
!
SUCCEEDED
(
hr
))
{
pDesktop
->
lpVtbl
->
Release
(
pDesktop
);
IShellFolder_
Release
(
pDesktop
);
return
;
}
...
...
@@ -638,9 +640,9 @@ static void browse_for_folder(HWND dialog)
char
*
pszSelectedPath
;
HRESULT
hr
;
hr
=
pDesktop
->
lpVtbl
->
GetDisplayNameOf
(
pDesktop
,
pidlSelectedPath
,
SHGDN_FORPARSING
,
&
strSelectedPath
);
pDesktop
->
lpVtbl
->
Release
(
pDesktop
);
hr
=
IShellFolder_
GetDisplayNameOf
(
pDesktop
,
pidlSelectedPath
,
SHGDN_FORPARSING
,
&
strSelectedPath
);
IShellFolder_
Release
(
pDesktop
);
if
(
!
SUCCEEDED
(
hr
))
{
SHFree
(
pidlSelectedPath
);
return
;
...
...
programs/winefile/winefile.c
View file @
7f67b35a
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