SetThreadForOperation - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

VOID SetThreadForOperation(
  ULONG_PTR *Thread
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdbgexts-setthreadforoperation)

SetThreadForOperation function

Description

The SetThreadForOperation function sets the thread to use for the next StackTrace call.

Parameters

Thread

Points to a thread object to be used for the next stack trace.

Remarks

If you are writing 64-bit code, you should use SetThreadForOperation64 instead. See 32-Bit Pointers and 64-Bit Pointers for details.

For a WdbgExts extension, include Wdbgexts.h. For a DbgEng extension, include Wdbgexts.h before Dbgeng.h. See Writing DbgEng Extension Code for details.