Source code of Windows XP (NT5)
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.

72 lines
972 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. grovctrl.h
  5. Abstract:
  6. SIS Groveler controller primary include file
  7. Authors:
  8. John Douceur, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_GROVCTRL
  14. #define _INC_GROVCTRL
  15. typedef int (* Function)(int, int, _TCHAR **);
  16. struct Action
  17. {
  18. _TCHAR *arg;
  19. int min_character_count;
  20. Function function;
  21. int flag;
  22. _TCHAR *help;
  23. };
  24. enum {CTRL_stop, CTRL_pause, CTRL_continue};
  25. enum {CMD_foreground, CMD_background, CMD_volscan};
  26. int install_service(
  27. int dummy,
  28. int argc,
  29. _TCHAR **argv);
  30. int remove_service(
  31. int dummy,
  32. int argc,
  33. _TCHAR **argv);
  34. int set_service_interaction(
  35. int interactive,
  36. int argc,
  37. _TCHAR **argv);
  38. int start_service(
  39. int dummy,
  40. int argc,
  41. _TCHAR **argv);
  42. int control_service(
  43. int control,
  44. int argc,
  45. _TCHAR **argv);
  46. int command_service(
  47. int command,
  48. int argc,
  49. _TCHAR **argv);
  50. int load_counters();
  51. int unload_counters();
  52. #endif /* _INC_GROVCTRL */