rpcrt4: Bring the function definitions in sync with their declaration.

They got out of sync due to the unsigned long to ULONG changes in the headers.
This commit is contained in:
Michael Stefaniuc 2006-11-09 23:02:09 +01:00 committed by Alexandre Julliard
parent 0628fb5098
commit 32ec528405
4 changed files with 15 additions and 15 deletions

View File

@ -129,7 +129,7 @@ unsigned char* WINAPI NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_M
/*********************************************************************** /***********************************************************************
* NdrGetBuffer [RPCRT4.@] * NdrGetBuffer [RPCRT4.@]
*/ */
unsigned char *WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle) unsigned char *WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, ULONG buflen, RPC_BINDING_HANDLE handle)
{ {
TRACE("(stubmsg == ^%p, buflen == %lu, handle == %p): wild guess.\n", stubmsg, buflen, handle); TRACE("(stubmsg == ^%p, buflen == %lu, handle == %p): wild guess.\n", stubmsg, buflen, handle);
@ -195,8 +195,8 @@ unsigned char *WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char
* NdrMapCommAndFaultStatus [RPCRT4.@] * NdrMapCommAndFaultStatus [RPCRT4.@]
*/ */
RPC_STATUS RPC_ENTRY NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg, RPC_STATUS RPC_ENTRY NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg,
unsigned long *pCommStatus, ULONG *pCommStatus,
unsigned long *pFaultStatus, ULONG *pFaultStatus,
RPC_STATUS Status ) RPC_STATUS Status )
{ {
FIXME("(%p, %p, %p, %ld): stub\n", pStubMsg, pCommStatus, pFaultStatus, Status); FIXME("(%p, %p, %p, %ld): stub\n", pStubMsg, pCommStatus, pFaultStatus, Status);

View File

@ -29,10 +29,10 @@
WINE_DEFAULT_DEBUG_CHANNEL(rpc); WINE_DEFAULT_DEBUG_CHANNEL(rpc);
PFULL_PTR_XLAT_TABLES WINAPI NdrFullPointerXlatInit(unsigned long NumberOfPointers, PFULL_PTR_XLAT_TABLES WINAPI NdrFullPointerXlatInit(ULONG NumberOfPointers,
XLAT_SIDE XlatSide) XLAT_SIDE XlatSide)
{ {
unsigned long NumberOfBuckets; ULONG NumberOfBuckets;
PFULL_PTR_XLAT_TABLES pXlatTables = HeapAlloc(GetProcessHeap(), 0, sizeof(*pXlatTables)); PFULL_PTR_XLAT_TABLES pXlatTables = HeapAlloc(GetProcessHeap(), 0, sizeof(*pXlatTables));
TRACE("(%ld, %d)\n", NumberOfPointers, XlatSide); TRACE("(%ld, %d)\n", NumberOfPointers, XlatSide);
@ -93,9 +93,9 @@ static void expand_pointer_table_if_necessary(PFULL_PTR_XLAT_TABLES pXlatTables,
int WINAPI NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES pXlatTables, int WINAPI NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES pXlatTables,
void *pPointer, unsigned char QueryType, void *pPointer, unsigned char QueryType,
unsigned long *pRefId ) ULONG *pRefId )
{ {
unsigned long Hash = 0; ULONG Hash = 0;
int i; int i;
PFULL_PTR_TO_REFID_ELEMENT XlatTableEntry; PFULL_PTR_TO_REFID_ELEMENT XlatTableEntry;
@ -141,8 +141,8 @@ int WINAPI NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES pXlatTables,
} }
int WINAPI NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES pXlatTables, int WINAPI NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
unsigned long RefId, ULONG RefId, unsigned char QueryType,
unsigned char QueryType, void **ppPointer) void **ppPointer)
{ {
TRACE("(%p, 0x%lx, %d, %p)\n", pXlatTables, RefId, QueryType, ppPointer); TRACE("(%p, 0x%lx, %d, %p)\n", pXlatTables, RefId, QueryType, ppPointer);
@ -168,9 +168,9 @@ int WINAPI NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
} }
void WINAPI NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES pXlatTables, void WINAPI NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
unsigned long RefId, void *pPointer) ULONG RefId, void *pPointer)
{ {
unsigned long Hash = 0; ULONG Hash = 0;
int i; int i;
PFULL_PTR_TO_REFID_ELEMENT XlatTableEntry; PFULL_PTR_TO_REFID_ELEMENT XlatTableEntry;

View File

@ -321,7 +321,7 @@ void WINAPI NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
/*********************************************************************** /***********************************************************************
* NdrInterfacePointerMemorySize [RPCRT4.@] * NdrInterfacePointerMemorySize [RPCRT4.@]
*/ */
unsigned long WINAPI NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg, ULONG WINAPI NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
PFORMAT_STRING pFormat) PFORMAT_STRING pFormat)
{ {
ULONG size; ULONG size;

View File

@ -1076,11 +1076,11 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
} }
/* FIXME: need to free some stuff in here too */ /* FIXME: need to free some stuff in here too */
long WINAPI NdrStubCall2( LONG WINAPI NdrStubCall2(
struct IRpcStubBuffer * pThis, struct IRpcStubBuffer * pThis,
struct IRpcChannelBuffer * pChannel, struct IRpcChannelBuffer * pChannel,
PRPC_MESSAGE pRpcMsg, PRPC_MESSAGE pRpcMsg,
unsigned long * pdwStubPhase) DWORD * pdwStubPhase)
{ {
const MIDL_SERVER_INFO *pServerInfo; const MIDL_SERVER_INFO *pServerInfo;
const MIDL_STUB_DESC *pStubDesc; const MIDL_STUB_DESC *pStubDesc;