[RPCRT4]
authorColin Finck <colin@reactos.org>
Fri, 19 Jun 2015 15:00:41 +0000 (15:00 +0000)
committerColin Finck <colin@reactos.org>
Fri, 19 Jun 2015 15:00:41 +0000 (15:00 +0000)
Add a lazy stub for RpcBindingServerFromClient to get my upcoming localspl changes to compile.
This needs further attention later.

svn path=/branches/colins-printing-for-freedom/; revision=68193

reactos/dll/win32/rpcrt4/rpc_binding.c
reactos/dll/win32/rpcrt4/rpcrt4.spec
reactos/include/psdk/rpcdce.h

index 9916fad..d7dc8d8 100644 (file)
@@ -802,6 +802,16 @@ RPC_STATUS WINAPI RpcBindingInqObject( RPC_BINDING_HANDLE Binding, UUID* ObjectU
   return RPC_S_OK;
 }
 
+
+/***********************************************************************
+ *             RpcBindingServerFromClient (RPCRT4.@)
+ */
+RPC_STATUS WINAPI RpcBindingServerFromClient(RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE* ServerBinding)
+{
+    /* This is a stub, just fail for now. */
+    return RPC_S_INVALID_ARG;
+}
+
 /***********************************************************************
  *             RpcBindingSetObject (RPCRT4.@)
  */
index 96570f2..6957641 100644 (file)
 @ stdcall RpcBindingInqObject(ptr ptr)
 @ stub RpcBindingInqOption
 @ stdcall RpcBindingReset(ptr)
-@ stub RpcBindingServerFromClient
+@ stdcall RpcBindingServerFromClient(ptr ptr)
 @ stdcall RpcBindingSetAuthInfoA(ptr str long long ptr long)
 @ stdcall RpcBindingSetAuthInfoExA(ptr str long long ptr long ptr)
 @ stdcall RpcBindingSetAuthInfoExW(ptr wstr long long ptr long ptr)
index 84f6330..b8f0f3e 100644 (file)
@@ -337,6 +337,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcBindingInqOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR *OptionValue );
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcBindingReset( RPC_BINDING_HANDLE Binding );
+RPCRTAPI RPC_STATUS RPC_ENTRY
+  RpcBindingServerFromClient( RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE* ServerBinding );
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid );
 RPCRTAPI RPC_STATUS RPC_ENTRY