LPHANDLER_FUNCTION_EX typedef

LPHANDLER_FUNCTION_EX = DWORD Function(DWORD dwControl, DWORD dwEventType, LPVOID lpEventData, LPVOID lpContext)

Application-defined callback function used with the RegisterServiceCtrlHandlerEx function. A service program can use it as the control handler function of a particular service.

Implementation

typedef LPHANDLER_FUNCTION_EX =
    DWORD Function(
      DWORD dwControl,
      DWORD dwEventType,
      LPVOID lpEventData,
      LPVOID lpContext,
    );