#ifndef AL_WIZARD_H
#define AL_WIZARD_H
+#include <windows.h>
+#include <prsht.h>
#include <WINNT/TaLocale.h>
#include <WINNT/subclass.h>
#define iswhite(_ch) ((_ch)==TEXT(' ') || (_ch)==TEXT('\t'))
-LPIDENT AfsClass_CreateService (LPIDENT lpiServer, LPTSTR pszService, LPTSTR pszCommand, LPTSTR pszParams, LPTSTR pszNotifier, SERVICETYPE type, SYSTEMTIME *pstIfCron, ULONG *pStatus)
+LPIDENT AfsClass_CreateService (LPIDENT lpiServer, LPTSTR pszService, LPTSTR pszCommand, LPTSTR pszParams, LPTSTR pszNotifier, AFSSERVICETYPE type, SYSTEMTIME *pstIfCron, ULONG *pStatus)
{
BOOL rc = TRUE;
ULONG status;
*
*/
-LPIDENT AfsClass_CreateService (LPIDENT lpiServer, LPTSTR pszService, LPTSTR pszCommand, LPTSTR pszParams, LPTSTR pszNotifier, SERVICETYPE type, SYSTEMTIME *pstIfCron, ULONG *pStatus = NULL);
+LPIDENT AfsClass_CreateService (LPIDENT lpiServer, LPTSTR pszService, LPTSTR pszCommand, LPTSTR pszParams, LPTSTR pszNotifier, AFSSERVICETYPE type, SYSTEMTIME *pstIfCron, ULONG *pStatus = NULL);
BOOL AfsClass_DeleteService (LPIDENT lpiService, ULONG *pStatus = NULL);
BOOL AfsClass_StartService (LPIDENT lpiStart, BOOL fTemporary, ULONG *pStatus = NULL);
struct {
PVOID hServer; // [in] token from BosServerOpen()
LPTSTR pszService; // [in] name of new service
- SERVICETYPE type; // [in] service type (stCRON, stFS, etc)
+ AFSSERVICETYPE type; // [in] service type (stCRON, stFS, etc)
LPTSTR pszCommand; // [in] full command-line to execute
LPTSTR pszTimeCron; // [in] date/time (CRON only)
LPTSTR pszNotifier; // [in] command executed on exit
TCHAR szParams[ cchNAME ];
TCHAR szNotifier[ cchNAME ];
TCHAR szLogFile[ cchNAME ];
- SERVICETYPE type;
+ AFSSERVICETYPE type;
BOOL fRunNow;
SYSTEMTIME stIfCron;
} SVC_CREATE_PARAMS, *LPSVC_CREATE_PARAMS;