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
e3f99046
Commit
e3f99046
authored
Jun 05, 2005
by
Mike Hearn
Committed by
Alexandre Julliard
Jun 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some tracing to the IRemUnknown RpcProxyBuffer implementation.
parent
72b7071e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
oleproxy.c
dlls/ole32/oleproxy.c
+6
-2
No files found.
dlls/ole32/oleproxy.c
View file @
e3f99046
...
...
@@ -295,7 +295,8 @@ static ULONG WINAPI IRpcProxyBufferImpl_Release(LPRPCPROXYBUFFER iface) {
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
!
ref
)
{
IRpcChannelBuffer_Release
(
This
->
chanbuf
);
This
->
chanbuf
=
NULL
;
IRpcChannelBuffer_Release
(
This
->
chanbuf
);
This
->
chanbuf
=
NULL
;
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
return
ref
;
...
...
@@ -845,13 +846,14 @@ static HRESULT WINAPI RURpcProxyBufferImpl_QueryInterface(LPRPCPROXYBUFFER iface
static
ULONG
WINAPI
RURpcProxyBufferImpl_AddRef
(
LPRPCPROXYBUFFER
iface
)
{
ICOM_THIS_MULTI
(
RemUnkProxy
,
lpvtbl_proxy
,
iface
);
TRACE
(
"%p, %ld
\n
"
,
iface
,
This
->
refs
+
1
);
return
InterlockedIncrement
(
&
This
->
refs
);
}
static
ULONG
WINAPI
RURpcProxyBufferImpl_Release
(
LPRPCPROXYBUFFER
iface
)
{
ICOM_THIS_MULTI
(
RemUnkProxy
,
lpvtbl_proxy
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
refs
);
TRACE
(
"%p, %ld
\n
"
,
iface
,
ref
);
if
(
!
ref
)
{
IRpcChannelBuffer_Release
(
This
->
chan
);
This
->
chan
=
NULL
;
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -862,12 +864,14 @@ static ULONG WINAPI RURpcProxyBufferImpl_Release(LPRPCPROXYBUFFER iface) {
static
HRESULT
WINAPI
RURpcProxyBufferImpl_Connect
(
LPRPCPROXYBUFFER
iface
,
IRpcChannelBuffer
*
pRpcChannelBuffer
)
{
ICOM_THIS_MULTI
(
RemUnkProxy
,
lpvtbl_proxy
,
iface
);
TRACE
(
"%p, %p
\n
"
,
iface
,
pRpcChannelBuffer
);
This
->
chan
=
pRpcChannelBuffer
;
IRpcChannelBuffer_AddRef
(
This
->
chan
);
return
S_OK
;
}
static
void
WINAPI
RURpcProxyBufferImpl_Disconnect
(
LPRPCPROXYBUFFER
iface
)
{
ICOM_THIS_MULTI
(
RemUnkProxy
,
lpvtbl_proxy
,
iface
);
TRACE
(
"%p, %p
\n
"
,
iface
,
This
->
chan
);
if
(
This
->
chan
)
{
IRpcChannelBuffer_Release
(
This
->
chan
);
This
->
chan
=
NULL
;
...
...
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