NdrSimpleTypeMarshall function

The NdrSimpleTypeMarshall function marshalls a simple type.

Syntax

void NdrSimpleTypeMarshall(
  PMIDL_STUB_MESSAGE pStubMsg,
  unsigned char      *pMemory,
  unsigned char      FormatChar
);

Parameters

pStubMsg

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

Pointer to the simple type to be marshalled.

FormatChar

Simple type format character.

Return Value

If an error occurs, the function throws one of the following exception codes.

Error Description
STATUS_ACCESS_VIOLATION An access violation occurred.
RPC_S_INTERNAL_ERROR An error occurred in RPC.

Requirements

   
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 (include Rpc.h)
Library RpcRT4.lib
DLL RpcRT4.dll