IeXdi2Exec::GetNbBpAvail (Windows Embedded CE 6.0)
1/5/2010
This method retrieves availability information for code and data breakpoints.
Syntax
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 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. |
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 |