Requesting Change Notification

Context

Use RASCliSession::NotifyChange() to enable client notification when alarm state change, and when the next alarm time is calculated as shown in the following code snippet:

TAlarmId alarmId;
TRequestStatus status;
TheAlarmServerSession.NotifyChange( status, alarmId );
User::WaitForRequest( status );