Go to the documentation of this file.
41 #define APPNAME TEXT(PACKAGE "serv")
42 #define SERVICE_DEPENDENCIES TAP_WIN_COMPONENT_ID "\0Dhcp\0\0"
47 #define MSG_FLAGS_ERROR (1<<0)
48 #define MSG_FLAGS_SYS_CODE (1<<1)
50 #define M_SYSERR (MSG_FLAGS_ERROR|MSG_FLAGS_SYS_CODE)
51 #define M_ERR (MSG_FLAGS_ERROR)
68 TCHAR exe_path[MAX_PATH];
69 TCHAR config_dir[MAX_PATH];
71 TCHAR log_dir[MAX_PATH];
openvpn_service_t interactive_service
VOID WINAPI ServiceStartInteractiveOwn(DWORD argc, LPTSTR *argv)
wchar_t * utf8to16(const char *utf8)
openvpn_service_type type
const wchar_t * get_win_sys_path(void)
LPCTSTR GetLastErrorText()
VOID WINAPI ServiceStartInteractive(DWORD argc, LPTSTR *argv)
static SERVICE_STATUS_HANDLE service
DWORD GetOpenvpnSettings(settings_t *s)
static SERVICE_STATUS status
BOOL ReportStatusToSCMgr(SERVICE_STATUS_HANDLE service, SERVICE_STATUS *status)
DWORD MsgToEventLog(DWORD flags, LPCTSTR lpszMsg,...)