.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH NdrAllocate 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBNdrAllocate\fR (RPCRT4.@) .SH SYNOPSIS void * NdrAllocate ( MIDL_STUB_MESSAGE* \fIpStubMsg\fR, SIZE_T \fIlen\fR ) .SH DESCRIPTION .PP Allocates a block of memory using \fIpStubMsg\fR\fI->pfnAllocate\fR. .SH PARAMS \fIpStubMsg\fR \fB[In/Out]\fR \fBMIDL_STUB_MESSAGE\fR structure. .PP \fIlen\fR \fB[In]\fR Size of memory block to allocate. .PP .SH RETURNS .PP The memory block of size \fIlen\fR that was allocated. .SH NOTES .PP The memory block is always \fB8\fR-byte aligned. If the function is unable to allocate memory an \fBERROR_OUTOFMEMORY\fR exception is raised. .SH IMPLEMENTATION .PP Declared in \fB"rpcndr.h"\fR. .PP Implemented in \fB"dlls/rpcrt4/ndr_marshall.c"\fR. .PP Debug channel \fB"ole"\fR.