BM_WaitForNotifications
A platform/OS independent implementation to wait for single/multiple notification handles.
BMAPI int BM_WaitForNotifications (BM_NotificationHandle handles[], int nhandles, int ntimeoutms)Parameters
Section titled “Parameters”| 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. |
Returns
Section titled “Returns”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.