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

This commit is contained in:
Francois Gouget 2007-11-13 20:50:35 +01:00 committed by Alexandre Julliard
parent 4f16a43c2c
commit 4fddc5e726
3 changed files with 8 additions and 2 deletions

View File

@ -859,7 +859,7 @@ void WINAPI I_RpcFree(void *Object)
/****************************************************************************** /******************************************************************************
* I_RpcMapWin32Status (rpcrt4.@) * I_RpcMapWin32Status (rpcrt4.@)
*/ */
DWORD WINAPI I_RpcMapWin32Status(RPC_STATUS status) LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
{ {
FIXME("(%ld): stub\n", status); FIXME("(%ld): stub\n", status);
return 0; return 0;
@ -911,7 +911,7 @@ void RPCRT4_SetThreadCurrentConnection(RpcConnection *Connection)
/****************************************************************************** /******************************************************************************
* RpcCancelThread (rpcrt4.@) * RpcCancelThread (rpcrt4.@)
*/ */
RPC_STATUS RPC_ENTRY RpcCancelThread(HANDLE ThreadHandle) RPC_STATUS RPC_ENTRY RpcCancelThread(void* ThreadHandle)
{ {
DWORD target_tid; DWORD target_tid;
struct threaddata *tdata; struct threaddata *tdata;

View File

@ -367,6 +367,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait ); RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait );
RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG);
RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtWaitServerListen( void ); RpcMgmtWaitServerListen( void );
@ -466,6 +468,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc ); ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo) #define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidA( RPC_CSTR protseq ); RpcNetworkIsProtseqValidA( RPC_CSTR protseq );
RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY

View File

@ -162,6 +162,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY
I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsigned int* Type ); I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsigned int* Type );
RPCRTAPI LONG RPC_ENTRY I_RpcMapWin32Status(RPC_STATUS);
#endif #endif
#else #else