[ros-diffs] [hpoussin] 24492: Better stubs for RpcImpersonateClient and RpcRevertToSelf (taken from Wine)

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Thu Oct 12 10:57:22 CEST 2006


Author: hpoussin
Date: Thu Oct 12 12:57:21 2006
New Revision: 24492

URL: http://svn.reactos.org/svn/reactos?rev=24492&view=rev
Log:
Better stubs for RpcImpersonateClient and RpcRevertToSelf (taken from Wine)

Modified:
    trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
    trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec

Modified: trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_binding.c?rev=24492&r1=24491&r2=24492&view=diff
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_binding.c (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_binding.c Thu Oct 12 12:57:21 2006
@@ -1163,6 +1163,7 @@
 RPC_STATUS WINAPI RpcImpersonateClient(RPC_BINDING_HANDLE BindingHandle)
 {
     FIXME("(%p): stub\n", BindingHandle);
+    ImpersonateSelf(SecurityImpersonation);
     return RPC_S_OK;
 }
 
@@ -1189,3 +1190,13 @@
     FIXME("(%p): stub\n", BindingHandle);
     return RPC_S_OK;
 }
+
+/***********************************************************************
+ *             RpcRevertToSelf (RPCRT4.@)
+ */
+RPC_STATUS WINAPI RpcRevertToSelf(void)
+{
+    FIXME("stub\n");
+    RevertToSelf();
+    return RPC_S_OK;
+}

Modified: trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec?rev=24492&r1=24491&r2=24492&view=diff
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec Thu Oct 12 12:57:21 2006
@@ -458,7 +458,7 @@
 @ stub RpcProtseqVectorFreeW
 @ stdcall RpcRaiseException(long)
 @ stub RpcRegisterAsyncInfo
-@ stub RpcRevertToSelf
+@ stdcall RpcRevertToSelf()
 @ stdcall RpcRevertToSelfEx(ptr)
 @ stdcall RpcServerInqBindings(ptr)
 @ stub RpcServerInqCallAttributesA # wxp




More information about the Ros-diffs mailing list