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
b9f36c3f
Commit
b9f36c3f
authored
May 24, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Implement RpcBindingCopy.
parent
760208b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+31
-0
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
b9f36c3f
...
...
@@ -836,6 +836,37 @@ RPC_STATUS WINAPI I_RpcBindingSetAsync( RPC_BINDING_HANDLE Binding, RPC_BLOCKING
}
/***********************************************************************
* RpcBindingCopy (RPCRT4.@)
*/
RPC_STATUS
RPC_ENTRY
RpcBindingCopy
(
RPC_BINDING_HANDLE
SourceBinding
,
RPC_BINDING_HANDLE
*
DestinationBinding
)
{
RpcBinding
*
DestBinding
;
RpcBinding
*
SrcBinding
=
(
RpcBinding
*
)
SourceBinding
;
RPC_STATUS
status
;
TRACE
(
"(%p, %p)
\n
"
,
SourceBinding
,
DestinationBinding
);
status
=
RPCRT4_AllocBinding
(
&
DestBinding
,
SrcBinding
->
server
);
if
(
status
!=
RPC_S_OK
)
return
status
;
DestBinding
->
ObjectUuid
=
SrcBinding
->
ObjectUuid
;
DestBinding
->
BlockingFn
=
SrcBinding
->
BlockingFn
;
DestBinding
->
Protseq
=
RPCRT4_strndupA
(
SrcBinding
->
Protseq
,
-
1
);
DestBinding
->
NetworkAddr
=
RPCRT4_strndupA
(
SrcBinding
->
NetworkAddr
,
-
1
);
DestBinding
->
Endpoint
=
RPCRT4_strndupA
(
SrcBinding
->
Endpoint
,
-
1
);
DestBinding
->
FromConn
=
SrcBinding
->
FromConn
;
SrcBinding
->
FromConn
=
NULL
;
if
(
SrcBinding
->
AuthInfo
)
RpcAuthInfo_AddRef
(
SrcBinding
->
AuthInfo
);
DestBinding
->
AuthInfo
=
SrcBinding
->
AuthInfo
;
*
DestinationBinding
=
DestBinding
;
return
RPC_S_OK
;
}
/***********************************************************************
* RpcImpersonateClient (RPCRT4.@)
*
* Impersonates the client connected via a binding handle so that security
...
...
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