Code Sample for appmon.cpp
The HA Application Monitoring SDK includes a code sample called appmon.cpp. The sample is located in the docs/samples directory and defines the entry point for the console application. The appmon.cpp program includes interface code that your application monitoring program can send after receiving results from calls to VMGuestAppMonitor_Enable, VMGuestAppMonitor_MarkActive, and VMGuestAppMonitor_Disable.