Partager via


IeXdi2Exec::EnumCodeBpsInAddrRange (Windows Embedded CE 6.0)

1/5/2010

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

Syntax

HRESULT EnumCodeBpsInAddrRange(
  BOOL fPhys,
  ADDRESS_TYPE FirstAddress,
  ADDRESS_TYPE LastAddress,
  TRISTATE_TYPE f3Enabled,
  IeXdi2EnumCodeBp** ppieXdi2EnumCodeBp
);

Parameters

  • fPhys
    [in] Indicator that, if TRUE, designates the address as physical memory.

    If FALSE, the memory address is virtual memory.

  • 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.

  • ppieXdi2EnumCodeBp
    [out] Pointer to the IeXdi2EnumCodeBpobject 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