Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1009 B

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. Service.h
  5. Abstract:
  6. Author:
  7. Arthur Hanson (arth) Dec 07, 1994
  8. Environment:
  9. Revision History:
  10. --*/
  11. #ifndef _SERVICE_H
  12. #define _SERVICE_H
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. // name of the executable
  17. #define SZAPPNAME "LLSrv"
  18. // internal name of the service
  19. #define SZSERVICENAME "LicenseLoggingService"
  20. // displayed name of the service
  21. #define SZSERVICEDISPLAYNAME "License Logging Service"
  22. // list of service dependencies - "dep1\0dep2\0\0"
  23. #define SZDEPENDENCIES ""
  24. // Wait Hint for Service Control Manager
  25. #define NSERVICEWAITHINT 30000
  26. //////////////////////////////////////////////////////////////////////////////
  27. VOID ServiceStart(DWORD dwArgc, LPTSTR *lpszArgv);
  28. VOID ServiceStop();
  29. BOOL ReportStatusToSCMgr(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif