IOsAxsExec::AddDataBpsInProcAndThd (Windows CE 5.0)
This method adds a new data breakpoint with process and thread affinity.
HRESULT AddDataBpsInProcAndThd( [in] DWORDProcID, [in] DWORDThdID, [in] DWORDcdbp, [in, size_is(cdbp)] DATA_BP_TYPE adbp[], [out, size_is(cdbp)] IeXdi2DataBp *apieXdi2DataBp[]);
Parameters
ProcID
Identifier of the process of interest.This value is 0 if affinity includes all processes or if no process of interest is identified.
ThdID
Identifier of the thread of interest.This value is 0 if affinity includes all threads or if no thread of interest is identified.
cdbp
Number of data breakpoints to create.adbp[]
Array of breakpoint type codes.The elements in this array must be selected from the members of the DATA_BP_TYPE structure.
apieXdi2DataBp
Pointer to an array of object interfaces for the newly created breakpoints.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the function was successful and all breakpoints were created. |
E_FAIL | Indicates an unspecified failure. |
E_NORESAVAILABLE | Indicates a breakpoint resource was not available, and the method could not 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
OS Version: Windows CE 5.0 and later.
Header: OsAccess.h.
Link Library: OSAXSC.lib.
See Also
Send Feedback on this topic to the authors