NdrComplexArrayBufferSize function (rpcndr.h)

The NdrComplexArrayBufferSize function calculates the required buffer size, in bytes, to marshal the complex array.

Syntax

void NdrComplexArrayBufferSize(
  [in, out] PMIDL_STUB_MESSAGE pStubMsg,
  [in]      unsigned char      *pMemory,
  [in]      PFORMAT_STRING     pFormat
);

Parameters

[in, out] pStubMsg

Pointer to a MIDL_STUB_MESSAGE structure that maintains the current status of the RPC stub. The BufferLength member contains the size of the buffer. The MIDL_STUB_MESSAGE structure is for internal use only, and must not be modified.

[in] pMemory

Pointer to the complex array to be calculated.

[in] pFormat

Pointer to the format string description.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header rpcndr.h
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

MIDL_STUB_MESSAGE