Export (0) Print
Expand All

NdrUserMarshalMarshall function

The NdrUserMarshalMarshall function marshals the supplied data buffer.

Syntax


RPCRTAPI unsigned char* RPC_ENTRY NdrUserMarshalMarshall(
  _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. Structure is for internal use only; do not modify.

pMemory [in]

Pointer to user data object to be marshaled.

pFormat [in]

Pointer's format string description.

Return value

Returns NULL upon success. If an error occurs, the function throws one of the following exception codes.

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

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft