Funzione NdrContextHandleMemorySize (rpcndr.h)

La funzione NdrContextHandleMemorySize restituisce le dimensioni dell'handle di contesto RPC fornito come rappresentato nella memoria locale.

Sintassi

unsigned long NdrContextHandleMemorySize(
  PMIDL_STUB_MESSAGE pStubMsg,
  PFORMAT_STRING     pFormat
);

Parametri

pStubMsg

Puntatore a una struttura MIDL_STUB_MESSAGE contenente lo stato corrente dello stub RPC. Il membro BufferLength contiene le dimensioni dell'handle di contesto, in byte. La struttura è solo per l'uso interno; non modificare.

pFormat

Puntatore a una struttura FORMAT_STRING contenente il formato dell'handle di contesto specificato in pMemory.

Valore restituito

Restituisce le dimensioni dell'handle di contesto in memoria, in byte.

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

Vedi anche

NdrContextHandleSize