Debugging Tools for Windows

SetDataParameters

The SetDataParameters method sets the parameters for a processor breakpoint.

HRESULT
  IDebugBreakpoint::SetDataParameters(
    IN ULONG  Size,
    IN ULONG  AccessType
    );

Parameters

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.
AccessType
The type of access that triggers the breakpoint. For a list of possible value, see Valid Parameters for Processor Breakpoints.

Return Value

SetDataParametes might return one of the following values:

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 might also return other error values. For more information about possible return values, see Return Values.

Comments

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

Requirements

Versions: Available in all versions of IDebugBreakpoint.

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

Build machine: CAPEBUILD