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.

46 lines
968 B

  1. /* Copyright 1999 American Power Conversion, All Rights Reserved
  2. *
  3. * Description:
  4. * The file defines the interface to the CommandExecutor. The
  5. * CommandExecutor is reponsible for executing command just
  6. * prior to shutdown.
  7. *
  8. *
  9. * Revision History:
  10. * sberard 01Apr1999 initial revision.
  11. *
  12. */
  13. #include <windows.h>
  14. #ifndef _CMDEXE_H
  15. #define _CMDEXE_H
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /**
  20. * ExecuteShutdownTask
  21. *
  22. * Description:
  23. * This function initiates the execution of the shutdown task. The
  24. * shutdown task is used to execute commands at shutdown. The task
  25. * to execute is specified in the following registry key:
  26. * TBD_TBD_TBD
  27. *
  28. * Parameters:
  29. * none
  30. *
  31. * Returns:
  32. * TRUE - if the command was executed
  33. * FALSE - if there was an error executing the command
  34. */
  35. BOOL ExecuteShutdownTask();
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif