Debugging Tools for Windows

GetDataParameters

The GetDataParameters method returns the parameters for a processor breakpoint.

HRESULT
  IDebugBreakpoint::GetDataParameters(
    OUT PULONG  Size,
    OUT PULONG  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
Tthe type of access that triggers the breakpoint. For a list of possible values, see Valid Parameters for Processor Breakpoints.

Return Value

GetDataParameters 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, ssee Return Values.

Comments

The GetParameters method also returns the information that is returned in Size and AccessType.

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