Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
27d59c89
Commit
27d59c89
authored
Oct 14, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Cleanup IRpcChannelBuffer.
parent
af5cee18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
rpc.c
dlls/ole32/rpc.c
+6
-6
No files found.
dlls/ole32/rpc.c
View file @
27d59c89
...
...
@@ -94,8 +94,8 @@ static inline void get_rpc_endpoint(LPWSTR endpoint, const OXID *oxid)
typedef
struct
{
const
IRpcChannelBufferVtbl
*
lpVtbl
;
LONG
refs
;
IRpcChannelBuffer
IRpcChannelBuffer_iface
;
LONG
refs
;
}
RpcChannelBuffer
;
typedef
struct
...
...
@@ -1142,7 +1142,7 @@ HRESULT RPC_CreateClientChannel(const OXID *oxid, const IPID *ipid,
return
E_OUTOFMEMORY
;
}
This
->
super
.
lpVtbl
=
&
ClientRpcChannelBufferVtbl
;
This
->
super
.
IRpcChannelBuffer_iface
.
lpVtbl
=
&
ClientRpcChannelBufferVtbl
;
This
->
super
.
refs
=
1
;
This
->
bind
=
bind
;
apartment_getoxid
(
COM_CurrentApt
(),
&
This
->
oxid
);
...
...
@@ -1151,7 +1151,7 @@ HRESULT RPC_CreateClientChannel(const OXID *oxid, const IPID *ipid,
This
->
dest_context_data
=
dest_context_data
;
This
->
event
=
NULL
;
*
chan
=
(
IRpcChannelBuffer
*
)
This
;
*
chan
=
&
This
->
super
.
IRpcChannelBuffer_iface
;
return
S_OK
;
}
...
...
@@ -1162,10 +1162,10 @@ HRESULT RPC_CreateServerChannel(IRpcChannelBuffer **chan)
if
(
!
This
)
return
E_OUTOFMEMORY
;
This
->
lpVtbl
=
&
ServerRpcChannelBufferVtbl
;
This
->
IRpcChannelBuffer_iface
.
lpVtbl
=
&
ServerRpcChannelBufferVtbl
;
This
->
refs
=
1
;
*
chan
=
(
IRpcChannelBuffer
*
)
This
;
*
chan
=
&
This
->
IRpcChannelBuffer_iface
;
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