Edit

Share via


IDebugBreakpoint2::GetOffset method (dbgeng.h)

The GetOffset method returns the ___location that triggers a breakpoint.

Syntax

HRESULT GetOffset(
  [out] PULONG64 Offset
);

Parameters

[out] Offset

The ___location on the target that triggers the breakpoint.

Return value

Return code Description
S_OK
The method was successful.
E_NOINTERFACE
The breakpoint is deferred and does not currently specify a ___location in the target's memory address space. To determine the breakpoint ___location in this case, call GetOffsetExpression.
 

This method can also return other error values. For more information, see Return Values.

Remarks

The GetParameters method also returns the ___location that triggers a breakpoint.

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

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)