NdrAllocate.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "rpcndr.h".

Implemented in "dlls/rpcrt4/ndr_marshall.c".

Debug channel "ole".