LPSERVICE_MAIN_FUNCTION typedef

LPSERVICE_MAIN_FUNCTION = Void Function(DWORD dwNumServicesArgs, Pointer<LPWSTR> lpServiceArgVectors)

Application-defined callback function used as the entry point for a service. The LPSERVICE_MAIN_FUNCTION type defines a pointer to this callback function. ServiceMain is a placeholder for an application-defined function name.

Implementation

typedef LPSERVICE_MAIN_FUNCTION = Void Function(
    DWORD dwNumServicesArgs, Pointer<LPWSTR> lpServiceArgVectors);