From 4fddc5e726b86fa55ebd1e3079743e9f001b3a69 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 13 Nov 2007 20:50:35 +0100 Subject: [PATCH] rpcrt4: Add some missing prototypes and better match the PSDK types. --- 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 044d094235c..ac69d5b8374 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 3fd492372c1..7f209003217 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 944070fedf4..46a402ab685 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 -- 2.11.4.GIT