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
21a04f56
Commit
21a04f56
authored
Oct 15, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Cleanup IMarshal interface of proxy manager.
parent
1fab14af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
marshal.c
dlls/ole32/marshal.c
+5
-5
No files found.
dlls/ole32/marshal.c
View file @
21a04f56
...
...
@@ -56,7 +56,7 @@ extern const CLSID CLSID_DfMarshal;
struct
proxy_manager
{
IMultiQI
IMultiQI_iface
;
const
IMarshalVtbl
*
lpVtblMarshal
;
IMarshal
IMarshal_iface
;
const
IClientSecurityVtbl
*
lpVtblCliSec
;
struct
apartment
*
parent
;
/* owning apartment (RO) */
struct
list
entry
;
/* entry in apartment (CS parent->cs) */
...
...
@@ -75,7 +75,7 @@ struct proxy_manager
static
inline
struct
proxy_manager
*
impl_from_IMarshal
(
IMarshal
*
iface
)
{
return
(
struct
proxy_manager
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
struct
proxy_manager
,
lpVtblMarshal
)
);
return
CONTAINING_RECORD
(
iface
,
struct
proxy_manager
,
IMarshal_iface
);
}
static
inline
struct
proxy_manager
*
impl_from_IClientSecurity
(
IClientSecurity
*
iface
)
...
...
@@ -755,7 +755,7 @@ static HRESULT proxy_manager_construct(
}
This
->
IMultiQI_iface
.
lpVtbl
=
&
ClientIdentity_Vtbl
;
This
->
lpVtblMarsha
l
=
&
ProxyMarshal_Vtbl
;
This
->
IMarshal_iface
.
lpVtb
l
=
&
ProxyMarshal_Vtbl
;
This
->
lpVtblCliSec
=
&
ProxyCliSec_Vtbl
;
list_init
(
&
This
->
entry
);
...
...
@@ -875,8 +875,8 @@ static HRESULT proxy_manager_query_local_interface(struct proxy_manager * This,
}
if
(
IsEqualIID
(
riid
,
&
IID_IMarshal
))
{
*
ppv
=
&
This
->
lpVtblMarshal
;
I
Unknown_AddRef
((
IUnknown
*
)
*
ppv
);
*
ppv
=
&
This
->
IMarshal_iface
;
I
Marshal_AddRef
(
&
This
->
IMarshal_iface
);
return
S_OK
;
}
if
(
IsEqualIID
(
riid
,
&
IID_IClientSecurity
))
...
...
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