BM_Enumerate
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Enumerate all connected Busmust device.
BMAPI BM_StatusTypeDef BM_Enumerate (BM_ChannelInfoTypeDef channelinfos[], int *nchannels)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [out] | channelinfos |
An array of BM_ChannelInfoTypeDef structure which holds info of all the enumerated Busmust devices. |
| [in,out] | nchannels |
Number of device channels available, which is also the number of valid entries in channelinfos, this param must be initialized with the maximum length of the channelinfos array when calling this function. |
Returns
Section titled “Returns”Operation status, see BM_StatusTypeDef for details.
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.