Funzione NdrContextHandleInitialize (rpcndr.h)

La funzione NdrContextHandleInitialize inizializza un nuovo handle di contesto RPC.

Sintassi

NDR_SCONTEXT NdrContextHandleInitialize(
  PMIDL_STUB_MESSAGE pStubMsg,
  PFORMAT_STRING     pFormat
);

Parametri

pStubMsg

Puntatore a una struttura MIDL_STUB_MESSAGE contenente lo stato corrente dello stub RPC. La struttura è solo per l'uso interno; non modificare.

pFormat

Puntatore a una struttura FORMAT_STRING contenente il formato del nuovo handle di contesto.

Valore restituito

Restituisce una struttura di NDR_SCONTEXT che fornisce un contesto appena inizializzato sulla restituzione o genera un'eccezione al momento dell'errore.

Requisiti

Requisito Valore
Client minimo supportato Windows XP [app desktop | App UWP]
Server minimo supportato Windows Server 2003 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione rpcndr.h (include Rpc.h)
Libreria Rpcrt4.lib
DLL Rpcrt4.dll