跳转到内容

BM_WaitForNotifications

函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。

A platform/OS independent implementation to wait for single/multiple notification handles.

BMAPI int BM_WaitForNotifications (BM_NotificationHandle handles[], int nhandles, int ntimeoutms)
Direction Name Description
[in] handles An array of channel notification handles.
[in] nhandles Number of valid notification handles.
[in] ntimeoutms This function will block current thread for ntimeoutms milliseconds if no notification is received. Note this function will return immediately once a new notification is received, the ntimeoutms param is ignored in this normal case.

This function returns the index in handles array of the channel from which a new notification is posted.


This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.