typedef void __fastcall (__closure *TStopEvent)(System::TObject* Sender, int Data);
TStopEvent is the type of the OnStop event handler.
TStopEvent lets you respond when a control panel applet receives a shutdown request.
Sender is the Applet Module that received the request to shut down.
Data is the value that was set in the Inquire events (OnInquire or OnNewInquire).