The GetThreadIdByDataOffset method returns the engine thread ID for the specified thread. The thread is specified by its system data structure.
HRESULT GetThreadIdByDataOffset( ULONG64 Offset, PULONG Id );
Specifies the location of the system data structure for the thread.
Receives the engine thread ID.
This method may also return error values. See Return Values for more details.
||The method was successful.|
In kernel-mode debugging, this method returns the engine thread ID for the virtual thread representing the processor on which the specified thread is executing. If the thread is not executing on a processor, this method will fail.
For more information about threads, see Threads and Processes.
|Header||dbgeng.h (include Dbgeng.h)|