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 RPC_X_NO_MEMORY exception is raised.

IMPLEMENTATION

Declared in "rpcndr.h". https://source.winehq.org/source/include/rpcndr.h

Implemented in "dlls/rpcrt4/ndr_marshall.c". https://source.winehq.org/source/dlls/rpcrt4/ndr_marshall.c

Debug channel "ole".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2024.