rpcrt4: Implement I_RpcAllocate and I_RpcFree.

This commit is contained in:
Robert Shearman 2006-06-01 20:24:52 +01:00 committed by Alexandre Julliard
parent cc9baf364e
commit 84ab2e78a4
2 changed files with 18 additions and 2 deletions

View File

@ -19,7 +19,7 @@
@ stdcall IUnknown_QueryInterface_Proxy(ptr ptr ptr) @ stdcall IUnknown_QueryInterface_Proxy(ptr ptr ptr)
@ stdcall IUnknown_Release_Proxy(ptr) @ stdcall IUnknown_Release_Proxy(ptr)
@ stub I_RpcAbortAsyncCall @ stub I_RpcAbortAsyncCall
@ stub I_RpcAllocate @ stdcall I_RpcAllocate(long)
@ stub I_RpcAsyncAbortCall @ stub I_RpcAsyncAbortCall
@ stub I_RpcAsyncSendReceive # NT4 @ stub I_RpcAsyncSendReceive # NT4
@ stub I_RpcAsyncSetHandle @ stub I_RpcAsyncSetHandle
@ -45,7 +45,7 @@
@ stub I_RpcDeleteMutex @ stub I_RpcDeleteMutex
@ stub I_RpcEnableWmiTrace # wxp @ stub I_RpcEnableWmiTrace # wxp
@ stub I_RpcExceptionFilter # wxp @ stub I_RpcExceptionFilter # wxp
@ stub I_RpcFree @ stdcall I_RpcFree(ptr)
@ stdcall I_RpcFreeBuffer(ptr) @ stdcall I_RpcFreeBuffer(ptr)
@ stub I_RpcFreePipeBuffer @ stub I_RpcFreePipeBuffer
@ stub I_RpcGetAssociationContext @ stub I_RpcGetAssociationContext

View File

@ -800,3 +800,19 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextA (RPC_STATUS e, unsigned char *buffer)
} }
return status; return status;
} }
/******************************************************************************
* I_RpcAllocate (rpcrt4.@)
*/
void * WINAPI I_RpcAllocate(unsigned int Size)
{
return HeapAlloc(GetProcessHeap(), 0, Size);
}
/******************************************************************************
* I_RpcFree (rpcrt4.@)
*/
void WINAPI I_RpcFree(void *Object)
{
HeapFree(GetProcessHeap(), 0, Object);
}