SetThreadForOperation function (wdbgexts.h)
The SetThreadForOperation function sets the thread to use for the next StackTrace call.
Syntax
void SetThreadForOperation(
ULONG_PTR *Thread
);
Parameters
Thread
Points to a thread object to be used for the next stack trace.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |