The GetThreadIdByHandle method returns the engine thread ID for the specified thread. The thread is specified by its system handle.
- Handle [in]
Specifies the system handle of the thread whose thread ID is requested.
- Id [out]
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, because the handle is an artificial handle for a processor, this method returns the engine thread ID for the virtual thread representing that processor.
Build date: 11/16/2013