Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method retrieves availability information for code and data breakpoints.
HRESULT GetNbBpAvail( DWORD* pdwNbHwCodeBpAvail, DWORD* pdwNbSwCodeBpAvail, DWORD* pdwNbHwDataBpAvail, DWORD* pdwNbSwDataBpAvail);
Parameters
pdwNbHwCodeBpAvail
[out] Number of hardware code breakpoints, or address comparators, still available on the debugging target.If no limit is known, pdwNbHwCodeBpAvail equals -1 (4294967295).
If hardware code breakpoint support is not available, pdwNbHwCodeBpAvail equals 0 and the method returns error status S_OK.
pdwNbSwCodeBpAvail
[out] Number of software code breakpoints still available on the target.If no limit is known, pdwNbSwCodeBpAvail equals -1 (4294967295).
If software code breakpoint support is not available, pdwNbSwCodeBpAvail equals 0 and the method returns error status S_OK.
pdwNbHwDataBpAvail
[out] Number of hardware data breakpoints, or address comparators, still available on the debugging target.If no limit is known, pdwNbHwDataBpAvail equals -1 (4294967295).
If hardware data breakpoint support is not available, pdwNbHwDataBpAvail equals 0 and the method returns error status S_OK.
pdwNbSwDataBpAvail
[out] Number of software data breakpoints still available on the target.If no limit is known, pdwNbSwDataBpAvail equals -1 (4294967295).
If software data breakpoint support is not available, pdwNbSwDataBpAvail equals 0 and the method returns error status S_OK.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the function was successful. |
E_FAIL | Indicates an unspecified failure. |
EXDI_E_COMMUNICATION | Indicates a communication error between host driver and debugging target. |
Requirements
OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib, oleaut32.lib.
See Also
Send Feedback on this topic to the authors