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.

39 lines
867 B

  1. /* Copyright 1999 American Power Conversion, All Rights Reserved
  2. *
  3. * Description:
  4. * The file defines the message id's used to send notifications.
  5. * These values correspond to the values contained in the netmsg.dll.
  6. *
  7. *
  8. * Revision History:
  9. * sberard 31Mar1999 initial revision.
  10. *
  11. */
  12. #ifndef _UPSMSG_H
  13. #define _UPSMSG_H
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. // These are defined in alertmsg.h
  18. #define ALERT_PowerOut 3020
  19. #define ALERT_PowerBack 3021
  20. #define ALERT_PowerShutdown 3022
  21. #define ALERT_CmdFileConfig 3023
  22. // These are defined in apperr2.h
  23. #define APE2_UPS_POWER_OUT 5150
  24. #define APE2_UPS_POWER_BACK 5151
  25. #define APE2_UPS_POWER_SHUTDOWN 5152
  26. #define APE2_UPS_POWER_SHUTDOWN_FINAL 5153
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif