Debugging Tools for Windows |
The GetMatchThreadId method returns the engine thread ID of the thread that can trigger a breakpoint.
HRESULT
IDebugBreakpoint::GetMatchThreadId(
OUT PULONG Id
);
GetMatchThreadId might return one of the following values:
This method might also return other error values. For more information about possible return values, see Return Values.
If you have set a thread for the breakpoint, the breakpoint can be triggered only if that thread hits the breakpoint. If you have not set a thread , any thread can trigger the breakpoint and Id receives NULL.
The GetParameters method also returns the engine thread ID of the thread that can trigger the breakpoint.
For more information about breakpoint properties, see Controlling Breakpoint Flags and Parameters.
Versions: Available in all versions of IDebugBreakpoint.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.