1 /* Copyright (C) 2002 GFRN systems 2 3 This program is free software; you can redistribute it and/or 4 modify it under the terms of the GNU General Public License as 5 published by the Free Software Foundation; either version 2 of the 6 License, or (at your option) any later version. 7 8 This program is distributed in the hope that it will be useful, but 9 WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 See the GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License 14 along with this program; if not, write to the Free Software 15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 16 02111-1307, USA. 17 18 The latest version of this program may be found at 19 http://CQiNet.sourceforge.net 20 21 $Log: ntservice.h,v $ 22 Revision 1.1 2002/12/18 00:46:48 wb6ymh 23 Initial commit. 24 25 26 */ 27 28 #ifndef NTSERVICE_H_ 29 #define NTSERVICE_H_ 30 31 void InstallService(); 32 void RemoveService(); 33 int RunAsService(); 34 BOOL ReportStatusToSCMgr(DWORD CurrentState,DWORD ExitCode,DWORD WaitHint); 35 36 #endif 37