NdrContextHandleInitialize function

The NdrContextHandleInitialize function initializes a new RPC context handle.

Syntax

NDR_SCONTEXT NdrContextHandleInitialize(
  PMIDL_STUB_MESSAGE pStubMsg,
  PFORMAT_STRING     pFormat
);

Parameters

pStubMsg

Pointer to a MIDL_STUB_MESSAGE structure that contains the current status of the RPC stub. Structure is for internal use only; do not modify.

pFormat

Pointer to a FORMAT_STRING structure that contains the format of the new context handle.

Return Value

Returns a NDR_SCONTEXT structure that provides a newly initialized context on return or raises exception upon error.

Requirements

   
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header rpcndr.h (include Rpc.h)
Library RpcRT4.lib
DLL RpcRT4.dll