Debugging Tools for Windows

GetId

The GetId method returns a breakpoint ID, which is the engine's unique identifier for a breakpoint.

HRESULT
  IDebugBreakpoint::GetId(
    OUT PULONG  Id
    );

Parameters

Id
The breakpoint ID.

Return Value

GetId might return one of the following values:

S_OK
The method was successful.

This method might also return error values. For more information about possible return values, see Return Values.

Comments

The breakpoint ID remains fixed as long as the breakpoint exists. However, after the breakpoint has been removed, you can use its ID for another breakpoint.

The GetParameters method also returns the breakpoint ID.

For more information about how to use breakpoints, see Using Breakpoints.

Requirements

Versions: Available in all versions of IDebugBreakpoint.

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD