LPSERVICE_MAIN_FUNCTION typedef callback

LPSERVICE_MAIN_FUNCTION = Void Function(Uint32 dwNumServicesArgs, Pointer<Pointer<Utf16>> lpServiceArgVectors)

The entry point for a service.

To learn more, see learn.microsoft.com/windows/win32/api/winsvc/nc-winsvc-lpservice_main_functionw.

Implementation

typedef LPSERVICE_MAIN_FUNCTION =
    Void Function(
      Uint32 dwNumServicesArgs,
      Pointer<Pointer<Utf16>> lpServiceArgVectors,
    );