Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NdrComplexStructBufferSize function

The NdrComplexStructBufferSize function calculates the required buffer size, in bytes, to marshal the complex structure.

Syntax


RPCRTAPI void RPC_ENTRY NdrComplexStructBufferSize(
  _Inout_ PMIDL_STUB_MESSAGE pStubMsg,
  _In_    unsigned char      *pMemory,
  _In_    PFORMAT_STRING     pFormat
);

Parameters

pStubMsg [in, out]

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.

pMemory [in]

Pointer to the complex structure to be calculated.

pFormat [in]

Pointer to the format string description.

Return value

This function has no return values.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcndr.h

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

MIDL_STUB_MESSAGE

 

 

Show: