Share via


IeXdi2Exec::AddDataBps (Windows Embedded CE 6.0)

1/5/2010

This method adds new data breakpoints.

Syntax

HRESULT AddDataBps(
  [in] DWORD cdbp,
  [in, size_is(cdbp)] DATA_BP_TYPE adbp[],
  [out, size_is(cdbp)] IeXdi2DataBp*apieXdi2DataBp[]
);

Parameters

  • cdbp
    Number of data breakpoints to create.
  • adbp[]
    Array of breakpoint type values.

    The elements of this array must be values specified in DATA_BP_TYPE.

  • apieXdi2DataBp
    Pointer to an array of IeXdi2DataBp object interfaces for the newly created breakpoint object.

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