Export (0) Print
Expand All

NdrUserMarshalBufferSize function

The NdrUserMarshalBufferSize function calculates the size of the buffer, in bytes, needed to marshal the user marshal object.

Syntax


void RPC_ENTRY NdrUserMarshalBufferSize(
  _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. Structure is for internal use only; do not modify.

pMemory [in]

Pointer to the user marshal object to be calculated.

pFormat [in]

Pointer to the format string description.

Return value

This function does not return a value.

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 (include Rpc.h)

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft