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.

28 lines
704 B

  1. /* Copyright 1999 American Power Conversion, All Rights Reserved
  2. *
  3. * Description:
  4. * Interface for the UPS service state machine.
  5. *
  6. * Revision History:
  7. * dsmith 31Mar1999 Created
  8. *
  9. */
  10. #ifndef _INC_STATEMACHINE_H_
  11. #define _INC_STATEMACHINE_H_
  12. #include <windows.h>
  13. // Starts the state machine. This method will not return until the state machine
  14. // exits.
  15. void RunStateMachine();
  16. // Acessor method for the various states to determine if an exit all states override has
  17. // been issued.
  18. BOOL IsStateMachineActive();
  19. // Interrupts the state machine and forces an exit. This method will be ignored
  20. // if the service is in one of the shutting down states.
  21. void StopStateMachine();
  22. #endif