Partager via


IeXdi2Exec::EnumDataBpsInAddrRange (Windows Embedded CE 6.0)

1/5/2010

This method creates an enumeration list of instantiated data breakpoints whose addresses are within a given range, and returns a pointer to the enumeration interface.

Syntax

HRESULT EnumDataBpsInAddrRange(
  MEM_TYPE2 mt2,
  ADDRESS_TYPE FirstAddress,
  ADDRESS_TYPE LastAddress,
  TRISTATE_TYPE f3Enabled,
  IeXdi2EnumDataBp** ppieXdi2EnumDataBp
);

Parameters

  • mt2
    [in] Indicator that specified whether the data memory address refers to virtual memory, physical memory, or peripheral I/O.
  • *FirstAddress   *
    [in] First address of the filtering address range.
  • LastAddress
    [in] Last address of the filtering address range.
  • f3Enabled
    [in] Flag that indicates whether the breakpoint state is enabled, disabled, or not important.

    This value must be an option specified in the TRISTATE_TYPE enumeration.

  • ppieXdi2EnumDataBp
    [out] Pointer to the IeXdi2EnumDataBpobject interface for the newly created enumeration list.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

E_NORESAVAILABLE

Indicates a breakpoint resource was not available and the method cannot instantiate all breakpoints.

E_OUTOFMEMORY

Indicates an out of memory error.

E_INVALIDARG

Indicates one or more invalid arguments.

EXDI_E_COMMUNICATION

Indicates a communication error between host driver and debugging target.

Requirements

Header eXDI2.h
Library ole32.lib, oleaut32.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXdi2Exec
IeXDI2 Interfaces