Export (0) Print
Expand All

NdrComplexStructMarshall function

The NdrComplexStructMarshall function marshals the complex structure into a network buffer.

Syntax


RPCRTAPI unsigned char* RPC_ENTRY NdrComplexStructMarshall(
  _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 MIDL_STUB_MESSAGE structure is for internal use only, and must not be modified.

pMemory [in]

Pointer to the complex structure to be marshaled.

pFormat [in]

Pointer to the format string description.

Return value

Returns null upon success. Raises one of the following exceptions upon failure.

ErrorDescription
STATUS_ACCESS_VIOLATIONAn access violation occurred.
RPC_S_INTERNAL_ERRORAn error occurred in RPC.

 

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft