From: Colin Finck Date: Fri, 19 Jun 2015 15:00:41 +0000 (+0000) Subject: [RPCRT4] X-Git-Tag: backups/colins-printing-for-freedom@73041~53 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1793014ec3313fd1cd202d34fd95564fac641e66;ds=sidebyside [RPCRT4] 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 --- diff --git a/reactos/dll/win32/rpcrt4/rpc_binding.c b/reactos/dll/win32/rpcrt4/rpc_binding.c index 9916fad47d6..d7dc8d8ec9d 100644 --- a/reactos/dll/win32/rpcrt4/rpc_binding.c +++ b/reactos/dll/win32/rpcrt4/rpc_binding.c @@ -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.@) */ diff --git a/reactos/dll/win32/rpcrt4/rpcrt4.spec b/reactos/dll/win32/rpcrt4/rpcrt4.spec index 96570f2ef8f..695764137c1 100644 --- a/reactos/dll/win32/rpcrt4/rpcrt4.spec +++ b/reactos/dll/win32/rpcrt4/rpcrt4.spec @@ -345,7 +345,7 @@ @ 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) diff --git a/reactos/include/psdk/rpcdce.h b/reactos/include/psdk/rpcdce.h index 84f63300ed2..b8f0f3eddbb 100644 --- a/reactos/include/psdk/rpcdce.h +++ b/reactos/include/psdk/rpcdce.h @@ -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