IDebugBreakpoint::SetOffset method (dbgeng.h)

The SetOffset method sets the location that triggers a breakpoint.

Syntax

HRESULT SetOffset(
  [in] ULONG64 Offset
);

Parameters

[in] Offset

The location on the target that triggers the breakpoint.

Return value

Return code Description
S_OK
The method was successful.
E_UNEXPECTED
The breakpoint is deferred.
 

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

Remarks

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

Requirements

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