IDebugBreakpoint2::SetDataParameters method (dbgeng.h)

The SetDataParameters method sets the parameters for a processor breakpoint.

Syntax

HRESULT SetDataParameters(
  [in] ULONG Size,
  [in] ULONG AccessType
);

Parameters

[in] Size

The size, in bytes, of the memory block whose access triggers the breakpoint. For more information about restrictions on the value of Size based on the processor type, see Valid Parameters for Processor Breakpoints.

[in] AccessType

The type of access that triggers the breakpoint. For a list of possible value, see Valid Parameters for Processor Breakpoints.

Return value

Return code Description
S_OK
The method was successful.
E_NOINTERFACE
The breakpoint is not a processor breakpoint. For more information about the breakpoint type, see GetType.
 

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

Remarks

For more information about breakpoint properties, see Controlling Breakpoint Flags and Parameters.

Requirements

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