rpcrt4: Add some missing prototypes and better match the PSDK types.

Francois Gouget fgouget at free.fr
Tue Nov 13 13:50:35 CST 2007


---
 dlls/rpcrt4/rpcrt4_main.c |    4 ++--
 include/rpcdce.h          |    4 ++++
 include/rpcdcep.h         |    2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 55eca7f..866514f 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -859,7 +859,7 @@ void WINAPI I_RpcFree(void *Object)
 /******************************************************************************
  * I_RpcMapWin32Status   (rpcrt4.@)
  */
-DWORD WINAPI I_RpcMapWin32Status(RPC_STATUS status)
+LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
 {
     FIXME("(%ld): stub\n", status);
     return 0;
@@ -911,7 +911,7 @@ void RPCRT4_SetThreadCurrentConnection(RpcConnection *Connection)
 /******************************************************************************
  * RpcCancelThread   (rpcrt4.@)
  */
-RPC_STATUS RPC_ENTRY RpcCancelThread(HANDLE ThreadHandle)
+RPC_STATUS RPC_ENTRY RpcCancelThread(void* ThreadHandle)
 {
     DWORD target_tid;
     struct threaddata *tdata;
diff --git a/include/rpcdce.h b/include/rpcdce.h
index 3fd4923..7f20900 100644
--- a/include/rpcdce.h
+++ b/include/rpcdce.h
@@ -367,6 +367,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait );
 
+RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG);
+
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcMgmtWaitServerListen( void );
 
@@ -466,6 +468,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
                           ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
 #define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
 
+RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
+
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcNetworkIsProtseqValidA( RPC_CSTR protseq );
 RPCRTAPI RPC_STATUS RPC_ENTRY
diff --git a/include/rpcdcep.h b/include/rpcdcep.h
index aef6d91..d3c2e09 100644
--- a/include/rpcdcep.h
+++ b/include/rpcdcep.h
@@ -162,6 +162,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
 RPCRTAPI RPC_STATUS RPC_ENTRY
   I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsigned int* Type );
 
+RPCRTAPI LONG RPC_ENTRY I_RpcMapWin32Status(RPC_STATUS);
+
 #endif
 
 #else
-- 
1.5.3.4




More information about the wine-patches mailing list