IDebugAdvanced3::GetSystemObjectInformation method (dbgeng.h)

The GetSystemObjectInformation method returns information about operating system objects on the target.

Syntax

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

Parameters

[in] Which

Specifies the type of object and the type of information to return about that object. Which can take the following value.

Value Information returned
DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION Returns details of the thread specified by engine thread ID.

[in] Arg64

Specifies a 64-bit argument. This parameter has the following interpretations depending on the value of Which:

DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

Not used.

[in] Arg32

Specifies a 32-bit argument. This parameter has the following interpretations depending on the value of Which:

DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

The engine thread ID of the desired thread.

[out, optional] Buffer

Receives the requested information. The type of data returned in Buffer depends on the value of Which.

Value Return type
DEBUG_SYSOBJINFO_THREAD_BASIC_INFORMATION

DEBUG_THREAD_BASIC_INFORMATION

[in] BufferSize

Specifies the size, in bytes, of the buffer Buffer.

[out, optional] InfoSize

Receives the size of the information that is returned.

Return value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.
S_FALSE
The method was successful. However, the information would not fit in the buffer Buffer, so the information was truncated.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

IDebugAdvanced2

IDebugAdvanced3

IDebugSystemObjects