StartServiceCtrlDispatcher function advapi32

int StartServiceCtrlDispatcher(
  1. Pointer<SERVICE_TABLE_ENTRY> lpServiceStartTable
)

Connects the main thread of a service process to the service control manager, which causes the thread to be the service control dispatcher thread for the calling process.

BOOL StartServiceCtrlDispatcherW(
  [in] const SERVICE_TABLE_ENTRYW *lpServiceStartTable
);

Implementation

int StartServiceCtrlDispatcher(
        Pointer<SERVICE_TABLE_ENTRY> lpServiceStartTable) =>
    _StartServiceCtrlDispatcher(lpServiceStartTable);