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
9e460675
Commit
9e460675
authored
Sep 26, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: COM cleanup in shellpath.c.
parent
9d2da7fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
shellpath.c
dlls/shell32/shellpath.c
+8
-8
No files found.
dlls/shell32/shellpath.c
View file @
9e460675
...
...
@@ -3277,7 +3277,7 @@ static HRESULT redirect_known_folder(
struct
knownfolder
{
const
struct
IKnownFolderVtbl
*
vtbl
;
IKnownFolder
IKnownFolder_iface
;
LONG
refs
;
KNOWNFOLDERID
id
;
LPWSTR
registryPath
;
...
...
@@ -3285,7 +3285,7 @@ struct knownfolder
static
inline
struct
knownfolder
*
impl_from_IKnownFolder
(
IKnownFolder
*
iface
)
{
return
(
struct
knownfolder
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
struct
knownfolder
,
vtbl
)
);
return
CONTAINING_RECORD
(
iface
,
struct
knownfolder
,
IKnownFolder_iface
);
}
static
ULONG
WINAPI
knownfolder_AddRef
(
...
...
@@ -3643,12 +3643,12 @@ static HRESULT knownfolder_create( void **ppv )
kf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
kf
)
);
if
(
!
kf
)
return
E_OUTOFMEMORY
;
kf
->
v
tbl
=
&
knownfolder_vtbl
;
kf
->
IKnownFolder_iface
.
lpV
tbl
=
&
knownfolder_vtbl
;
kf
->
refs
=
1
;
memset
(
&
kf
->
id
,
0
,
sizeof
(
kf
->
id
)
);
kf
->
registryPath
=
NULL
;
*
ppv
=
&
kf
->
v
tbl
;
*
ppv
=
&
kf
->
IKnownFolder_iface
.
lpV
tbl
;
TRACE
(
"returning iface %p
\n
"
,
*
ppv
);
return
S_OK
;
...
...
@@ -3656,7 +3656,7 @@ static HRESULT knownfolder_create( void **ppv )
struct
foldermanager
{
const
struct
IKnownFolderManagerVtbl
*
vtbl
;
IKnownFolderManager
IKnownFolderManager_iface
;
LONG
refs
;
UINT
num_ids
;
KNOWNFOLDERID
*
ids
;
...
...
@@ -3664,7 +3664,7 @@ struct foldermanager
static
inline
struct
foldermanager
*
impl_from_IKnownFolderManager
(
IKnownFolderManager
*
iface
)
{
return
(
struct
foldermanager
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
struct
foldermanager
,
vtbl
)
);
return
CONTAINING_RECORD
(
iface
,
struct
foldermanager
,
IKnownFolderManager_iface
);
}
static
ULONG
WINAPI
foldermanager_AddRef
(
...
...
@@ -3938,7 +3938,7 @@ static HRESULT foldermanager_create( void **ppv )
fm
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
fm
)
);
if
(
!
fm
)
return
E_OUTOFMEMORY
;
fm
->
v
tbl
=
&
foldermanager_vtbl
;
fm
->
IKnownFolderManager_iface
.
lpV
tbl
=
&
foldermanager_vtbl
;
fm
->
refs
=
1
;
fm
->
num_ids
=
0
;
...
...
@@ -3961,7 +3961,7 @@ static HRESULT foldermanager_create( void **ppv )
}
}
TRACE
(
"found %u known folders
\n
"
,
fm
->
num_ids
);
*
ppv
=
&
fm
->
vtbl
;
*
ppv
=
&
fm
->
IKnownFolderManager_iface
;
TRACE
(
"returning iface %p
\n
"
,
*
ppv
);
return
S_OK
;
...
...
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