NAME
NdrAllocate (RPCRT4.@)
SYNOPSIS
void * NdrAllocate
(
MIDL_STUB_MESSAGE* pStubMsg,
SIZE_T len
)
DESCRIPTION
Allocates a block of memory using pStubMsg->pfnAllocate.
PARAMS
pStubMsg [In/Out] MIDL_STUB_MESSAGE structure.
len [In] Size of memory block to allocate.
RETURNS
The memory block of size len that was allocated.
NOTES
The memory block is always 8-byte aligned. If the function is unable to allocate memory an ERROR_OUTOFMEMORY exception is raised.
IMPLEMENTATION
Declared in "rpcndr.h".
Implemented in "dlls/rpcrt4/ndr_marshall.c".
Debug channel "ole".