Registers the caller to receive board status change events.
DWORD cdiStartStatusMonitoring ( CTAHD ctahd)
|
Argument |
Description |
|
ctahd |
Context handle. |
|
Return value |
Description |
|
SUCCESS |
|
|
CTAERR_INVALID_CTAHD |
Handle is invalid. |
|
Event |
Description |
|
CDIEVN_BOARD_STATUS_CHANGE |
The board status changed. Invoke cdiGetBoardStatus for details. |
Applications can register to receive events whenever the board status changes. To register an application, invoke cdiStartStatusMonitoring on a non-DSP port such as local:0:0. While you can monitor more than one context for a board, monitoring one context is sufficient and conserves system resources.
Any board status change generates CDIEVN_BOARD_STATUS_CHANGE. The application can then invoke cdiGetBoardStatus to determine what changed.
To unregister an application, invoke cdiStopStatusMonitoring.
Refer to Monitoring status changes for more information.