LPHANDLER_FUNCTION typedef
Application-defined callback function used with the RegisterServiceCtrlHandler function. A service program can use it as the control handler function of a particular service.
Implementation
typedef LPHANDLER_FUNCTION = Void Function(DWORD dwControl);