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.

68 lines
1.6 KiB

  1. /*++
  2. (c) 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. RpFilt.h
  5. Abstract:
  6. Contains service related definitions for the RsFilter service
  7. Environment:
  8. Kernel mode
  9. Revision History:
  10. --*/
  11. /*
  12. Registry defines for RsFilter component. These are not required but will
  13. be read if there.
  14. */
  15. /* Service configuration information */
  16. //
  17. // Name of the executable
  18. //
  19. #define RSFILTER_APPNAME "RsFilter"
  20. #define RSFILTER_EXTENSION ".sys"
  21. #define RSFILTER_FULLPATH "%SystemRoot%\\System32\\Drivers\\RsFilter.Sys"
  22. //
  23. // Internal name of the service
  24. //
  25. #define RSFILTER_SERVICENAME "RsFilter"
  26. //
  27. // Displayed name of the service
  28. //
  29. #define RSFILTER_DISPLAYNAME "Remote Storage Recall Support"
  30. //
  31. // List of service dependencies - "dep1\0dep2\0\0"
  32. //
  33. #define RSFILTER_DEPENDENCIES "\0\0"
  34. //
  35. // Load order group
  36. //
  37. #define RSFILTER_GROUP "Filter"
  38. LONG RpInstallFilter(
  39. UCHAR *machine, /* I Machine to install on */
  40. UCHAR *path, /* I points to dir with RsFilter.sys */
  41. LONG doCopy); /* I TRUE = copy file even if service exists (upgrade) */
  42. LONG RpGetSystemDirectory(
  43. UCHAR *machine, /* I machine name */
  44. UCHAR *sysPath); /* O System root */
  45. LONG RpCheckService(
  46. UCHAR *machine, // I Machine name
  47. UCHAR *serviceName, // I Service to look for
  48. UCHAR *path, // O Path where found
  49. LONG *isThere); // O True if the service was there