Funzione NdrContextHandleSize (rpcndr.h)

La funzione NdrContextHandleSize restituisce le dimensioni dell'handle di contesto RPC fornito.

Sintassi

void NdrContextHandleSize(
  PMIDL_STUB_MESSAGE pStubMsg,
  unsigned char      *pMemory,
  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.

pMemory

Puntatore a un buffer di stringa contenente un handle di contesto RPC.

pFormat

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

Valore restituito

nessuno

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

NdrContextHandleMemorySize