IDebugControl5::GetBreakpointByGuid method (dbgeng.h)

The GetBreakpointByGuid method returns the breakpoint with the specified breakpoint GUID.

Syntax

HRESULT GetBreakpointByGuid(
  [in]  LPGUID             Guid,
  [out] PDEBUG_BREAKPOINT3 *Bp
);

Parameters

[in] Guid

Specifies the breakpoint GUID of the breakpoint to return.

[out] Bp

Receives the breakpoint.

Return value

This method can also return other error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.
E_NOINTERFACE
No breakpoint was found with the given GUID, or the breakpoint with the specified GUID does not belong to the current process, or the breakpoint with the given GUID is private (see GetFlags).

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h

See also

Controlling Breakpoint Flags and Parameters

IDebugControl5