StartServiceCtrlDispatcher function advapi32
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);