Module: wine Branch: master Commit: 4fddc5e726b86fa55ebd1e3079743e9f001b3a69 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4fddc5e726b86fa55ebd1e3079...
Author: Francois Gouget fgouget@free.fr Date: Tue Nov 13 20:50:35 2007 +0100
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 044d094..ac69d5b 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 944070f..46a402a 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