LPHANDLER_FUNCTION_EX typedef callback
LPHANDLER_FUNCTION_EX =
Uint32 Function(Uint32 dwControl, Uint32 dwEventType, Pointer<NativeType> lpEventData, Pointer<NativeType> lpContext)
An application-defined callback function used with the RegisterServiceCtrlHandlerEx function.
A service program can use it as the control handler function of a particular service.
To learn more, see learn.microsoft.com/windows/win32/api/winsvc/nc-winsvc-lphandler_function_ex.
Implementation
typedef LPHANDLER_FUNCTION_EX =
Uint32 Function(
Uint32 dwControl,
Uint32 dwEventType,
Pointer lpEventData,
Pointer lpContext,
);