Debugging Tools for Windows |
The GetBreakpointById and GetBreakpointById2 methods return the breakpoint with the specified breakpoint ID.
HRESULT
IDebugControl::GetBreakpointById(
IN ULONG Id,
OUT IDebugBreakpoint * * Bp
);
HRESULT
IDebugControl4::GetBreakpointById2(
IN ULONG Id,
OUT IDebugBreakpoint2 * * Bp
);
This method can also return other error values. See Return Values for more details.
GetBreakpointById is available in all versions of IDebugControl. GetBreakpointById2 is available in IDebugControl4 and later versions.
If the specified breakpoint does not belong to the current process, the GetBreakpointById and GetBreakpointById2 methods will fail.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.