IDebugSystemObjects2::GetProcessIdByDataOffset method (dbgeng.h)
The GetProcessIdByDataOffset method returns the engine process ID for the specified process. The process is specified by its data offset.
Syntax
HRESULT GetProcessIdByDataOffset(
[in] ULONG64 Offset,
[out] PULONG Id
);
Parameters
[in] Offset
Specifies the location in the target's virtual address space of the data offset of the process.
[out] Id
Receives the engine process ID for the process.
Return value
This method may also return other error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
|
The current target is a kernel-mode target. This method is currently not available in kernel-mode debugging. |
Remarks
This method is currently not available in kernel-mode debugging.
In user-mode debugging, this method behaves the same as GetProcessIdByPeb.
For more information about processes, see Threads and Processes.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |