Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Header: #include <applibs/sysevent.h>
This function is called when the status of a registered system event changes. Only one SysEvent_Events flag is set because there is only one callback call for each event status change.
typedef void SysEvent_EventsCallback(SysEvent_Events event, SysEvent_Status state,
const SysEvent_Info *info, void *context);
Parameters
eventThe event.stateThe new status of the event.infoAdditional info about the status change. To retrieve the information, pass this pointer to an event-specific function, such as SysEvent_Info_GetUpdateData. The pointer is valid only until the callback returns.contextAn optional context pointer that was passed to SysEvent_RegisterForEventNotifications.
Application manifest requirements
The application manifest must include the SystemEventNotifications capability.