Robert Shearman : rpcrt4: Improve the stubs for RpcImpersonateClient and RpcRevertToSelf.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 24 06:55:14 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ba9158e2e13e265818b22d2ab1f168dd42bb2976
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ba9158e2e13e265818b22d2ab1f168dd42bb2976

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon Jul 24 11:46:07 2006 +0100

rpcrt4: Improve the stubs for RpcImpersonateClient and RpcRevertToSelf.

---

 dlls/rpcrt4/rpc_binding.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c
index 7f5f14d..363ee90 100644
--- a/dlls/rpcrt4/rpc_binding.c
+++ b/dlls/rpcrt4/rpc_binding.c
@@ -893,6 +893,7 @@ RPC_STATUS RPC_ENTRY RpcBindingCopy(
 RPC_STATUS WINAPI RpcImpersonateClient(RPC_BINDING_HANDLE BindingHandle)
 {
     FIXME("(%p): stub\n", BindingHandle);
+    ImpersonateSelf(SecurityImpersonation);
     return RPC_S_OK;
 }
 
@@ -958,6 +959,7 @@ ULONG RpcAuthInfo_Release(RpcAuthInfo *A
 RPC_STATUS WINAPI RpcRevertToSelf(void)
 {
     FIXME("stub\n");
+    RevertToSelf();
     return RPC_S_OK;
 }
 




More information about the wine-cvs mailing list