// wdbgexts.h
VOID SetThreadForOperation(
ULONG_PTR *Thread
);
View the official Windows Driver Kit DDI referenceNo description available.
The SetThreadForOperation function sets the thread to use for the next StackTrace call.
ThreadPoints to a thread object to be used for the next stack trace.
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.