diff --git a/include/service_hook.h b/include/service_hook.h index d2badbc52..e2cf160ea 100644 --- a/include/service_hook.h +++ b/include/service_hook.h @@ -1,6 +1,6 @@ -/* Interface to windows system interface. Provides entry points - to service system when service is initialized. This allows - user to specify code to run when service is triggered. */ +/* Interface to windows system interface. Provides entry points + to service system when service is initialized. This allows + user to specify code to run when service is triggered. */ #ifndef SERVICE_HOOK_DEFINED #define SERVICE_HOOK_DEFINED @@ -44,7 +44,9 @@ SERVICE_EXPORT void SetupServiceThread( TEXTSTR name, uintptr_t (CPROC*Start)( P SERVICE_EXPORT void ServiceInstall( CTEXTSTR ServiceName ); // install the current executable as a service of the specified name. (and starts the service) -SERVICE_EXPORT void ServiceInstallEx( CTEXTSTR ServiceName, CTEXTSTR description, CTEXTSTR extraArgs ); +// options is +// 1 - interact with desktop +SERVICE_EXPORT void ServiceInstallEx( CTEXTSTR ServiceName, CTEXTSTR description, CTEXTSTR extraArgs, int opts ); // uninstall the current executable as a service of the specified name. (and stops the service) SERVICE_EXPORT void ServiceUninstall( CTEXTSTR ServiceName );