IOsAxsExec::AddCodeBpsInProcAndThd (Windows CE 5.0)
This method adds a new code breakpoint with process and thread affinity.
HRESULT AddCodeBpsInProcAndThd( [in] DWORDProcID, [in] DWORDThdID, [in] DWORDccbp, [in, size_is(ccbp)] CODE_BP_TYPEacbp[], [out, size_is(ccbp)] IeXdi2CodeBp *apieXdi2CodeBp[]);
Parameters
ProcID
Identifier of the process of interest.The value is 0 if the affinity includes all processes or if no process of interest is identified.
ThdID
Identifier of the thread of interest.The value is 0 if the affinity includes all threads or if no thread of interest is identified.
ccbp
Number of code breakpoints to create.acbp[]
Array of breakpoint type codes.The elements in this array must be selected from the members of the CODE_BP_TYPE structure.
apieXdi2CodeBp
Pointer to object interface for the newly created breakpoint.
Return Values
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK | Indicates the function was successful and all breakpoints could be created. |
E_FAIL | Indicates an unspecified failure. |
E_NORESAVAILABLE | Indicates no breakpoint resource is available and therefore 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
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