Debugging Tools for Windows

GetImplicitProcessDataOffset

The GetImplicitProcessDataOffset method returns the implicit process for the current target.

HRESULT
  IDebugSystemObjects2::GetImplicitProcessDataOffset(
    OUT PULONG64  Offset
    );

Parameters

Offset
Receives the location in the target's memory address space of the data structure of the system process that is the implicit process for the current target.

Return Value

S_OK
The method was successful.

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

Interface Version

GetImplicitProcessDataOffset is available in IDebugSystemObjects2 and later versions.

Comments

In kernel-mode debugging, the data structure is the KPROCESS structure for the process.

In user-mode debugging, the data structure is the process environment block (PEB) for the process.

For more information about the implicit process, see Threads and Processes. For details on the KPROCESS and PEB structures, see Microsoft Windows Internals by David Solomon and Mark Russinovich.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD