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_bindi…
==============================================================================
--- 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.sp…
==============================================================================
--- 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