[PATCH] rpcrt4: Add a stub for I_RpcBindingInqTransportType

Detlef Riekenberg wine.dev at web.de
Wed Jun 25 17:01:55 CDT 2008


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

diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c
index 333de3d..e42b8f9 100644
--- a/dlls/rpcrt4/rpc_binding.c
+++ b/dlls/rpcrt4/rpc_binding.c
@@ -820,6 +820,17 @@ RPC_STATUS WINAPI RpcBindingToStringBindingW( RPC_BINDING_HANDLE Binding, RPC_WS
 }
 
 /***********************************************************************
+ *             I_RpcBindingInqTransportType (RPCRT4.@)
+ */
+RPC_STATUS WINAPI I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsigned int * Type )
+{
+
+  FIXME( "(%p,%p): stub\n", Binding, Type);
+  *Type = TRANSPORT_TYPE_LPC;
+  return RPC_S_OK;
+}
+
+/***********************************************************************
  *             I_RpcBindingSetAsync (RPCRT4.@)
  * NOTES
  *  Exists in win9x and winNT, but with different number of arguments
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
index bbf5a01..95f13d8 100644
--- a/dlls/rpcrt4/rpcrt4.spec
+++ b/dlls/rpcrt4/rpcrt4.spec
@@ -31,7 +31,7 @@
 @ stub I_RpcBindingInqDynamicEndPointW
 @ stub I_RpcBindingInqLocalClientPID # wxp
 @ stub I_RpcBindingInqSecurityContext
-@ stub I_RpcBindingInqTransportType
+@ stdcall I_RpcBindingInqTransportType(ptr ptr)
 @ stub I_RpcBindingInqWireIdForSnego
 @ stub I_RpcBindingIsClientLocal
 # 9x version of I_RpcBindingSetAsync has 3 arguments, not 2
-- 
1.5.4.3


--=-zWJQSM7gg+jQ5vUm8r0j--




More information about the wine-patches mailing list