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.

45 lines
1.5 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /***********************************************************************
  3. *
  4. * CHGLOGON.H
  5. *
  6. * This module contains typedefs and defines required for
  7. * the CHGLOGON utility.
  8. *
  9. *
  10. *************************************************************************/
  11. /*
  12. * General application definitions.
  13. */
  14. #define SUCCESS 0
  15. #define FAILURE 1
  16. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  17. /*
  18. * Resource string IDs
  19. */
  20. #define IDS_ERROR_MALLOC 100
  21. #define IDS_ERROR_INVALID_PARAMETERS 101
  22. #define IDS_HELP_USAGE1 102
  23. #define IDS_HELP_USAGE2 103
  24. #define IDS_HELP_USAGE3 104
  25. #define IDS_HELP_USAGE4 105
  26. #define IDS_HELP_USAGE5 106
  27. #define IDS_WINSTATIONS_DISABLED 107
  28. #define IDS_WINSTATIONS_ENABLED 108
  29. #define IDS_ACCESS_DENIED 109
  30. #define IDS_ERROR_NOT_TS 110
  31. #define IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_1 111 // deny connections is set to 1
  32. #define IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_0 112 // deny connections is set to 0
  33. /*
  34. * Winlogon defines
  35. */
  36. #define APPLICATION_NAME TEXT("Winlogon")
  37. #define WINSTATIONS_DISABLED TEXT("WinStationsDisabled")