Commit 4fddc5e7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 4f16a43c
...@@ -859,7 +859,7 @@ void WINAPI I_RpcFree(void *Object) ...@@ -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) ...@@ -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;
......
...@@ -367,6 +367,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY ...@@ -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 ...@@ -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
......
...@@ -162,6 +162,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment