Condividi tramite


Metodo IDebugAdvanced3::GetSystemObjectInformation (dbgeng.h)

Il metodo GetSystemObjectInformation restituisce informazioni sugli oggetti del sistema operativo nella destinazione.

Sintassi

HRESULT GetSystemObjectInformation(
  [in]            ULONG   Which,
  [in]            ULONG64 Arg64,
  [in]            ULONG   Arg32,
  [out, optional] PVOID   Buffer,
  [in]            ULONG   BufferSize,
  [out, optional] PULONG  InfoSize
);

Parametri

[in] Which

Specifica il tipo di oggetto e il tipo di informazioni da restituire sull'oggetto. Che può accettare il valore seguente.

Valore Informazioni restituite
DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION Restituisce i dettagli del thread specificato dall'ID thread del motore.

[in] Arg64

Specifica un argomento a 64 bit. Questo parametro ha le interpretazioni seguenti a seconda del valore di Which:

DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

Non usato.

[in] Arg32

Specifica un argomento a 32 bit. Questo parametro ha le interpretazioni seguenti a seconda del valore di Which:

DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

ID del thread del motore del thread desiderato.

[out, optional] Buffer

Riceve le informazioni richieste. Il tipo di dati restituiti in Buffer dipende dal valore di Which.

Valore Tipo restituito
DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

DEBUG_THREAD_BASIC_INFORMATION

[in] BufferSize

Specifica le dimensioni, in byte, del buffer buffer.

[out, optional] InfoSize

Riceve le dimensioni delle informazioni restituite.

Valore restituito

Questo metodo può anche restituire valori di errore. Per altri dettagli, vedere Valori restituiti .

Codice restituito Descrizione
S_OK
Il metodo è stato eseguito correttamente.
S_FALSE
Il metodo è stato eseguito correttamente. Tuttavia, le informazioni non rientrano nel buffer buffer, quindi le informazioni sono state troncate.

Requisiti

Requisito Valore
Piattaforma di destinazione Desktop
Intestazione dbgeng.h (include Dbgeng.h)

Vedi anche

IDebugAdvanced2

IDebugAdvanced3

IDebugSystemObjects