Still Image API
Applications use the Still Image API to gain access to Still Image features. An application does not need to communicate directly with the Event Monitor or the Control Panel. The Event Monitor launches an application that is associated with a device event. That is the only communication it has with an application.
The application gets the launch information it needs by calling the GetSTILaunchInformation method. If this method provides the application with valid push event information, then the application was launched by a push event. If it does not, the application was launched in another way (for example, the user double-clicked the program's icon). In this way, applications can distinguish whether or not they were launched by a push event and respond accordingly.