/**********************************************/
/*                                            */    
/* scolinstaller.h                            */
/*                                            */
/* main installer functions                   */
/* (functions from old main.cpp)              */
/*                                            */
/* scol v 4                                   */
/*                                            */
/**********************************************/



#ifndef _SCOLINSTALLER_H
#define _SCOLINSTALLER_H

BOOL SetPrivilege(
    HANDLE hToken,          // access token handle
    LPCTSTR lpszPrivilege,  // name of privilege to enable/disable
    BOOL bEnablePrivilege   // to enable or disable privilege
    );

void _log (char*format,...);

int strCutting(char *comm, char **argv);

void initvars();

char* getvar (char* name);

int MsgBox(HWND hw,UINT flag,char *title,char *format, ...);

void DelSemaphore();
int SetSemaphore();
int ProcessIniFile (HWND hDlg,char* section);

int exist (char* fn);

int setvar(char*name,char*val);

#endif


