BM_GetDevice
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Get current channel status of the given channel.
BMAPI BM_StatusTypeDef BM_GetDevice (BM_ChannelHandle channel, BM_DeviceHandle *device)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | handle |
Handle to the channel to operate on. |
| [out] | handle |
Handle to the device to operate on. |
| [out] | statusinfo |
Detailed information of current channel status, see BM_CanStatusInfoTypedef/BM_LinStatusInfoTypeDef for details. |
Returns
Section titled “Returns”Current status code, 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.