GetProcessIdByDataOffset

IDebugSystemObjects::GetProcessIdByDataOffset method

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

Offset [in]

Specifies the location in the target's virtual address space of the data offset of the process.

Id [out]

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 codeDescription
S_OK

The method was successful.

E_NOTIMPL

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

Target platform

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft