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.

52 lines
1.8 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /***********************************************************************
  3. *
  4. * QAPPSRV.H
  5. * This module contains typedefs and defines required for
  6. * the QAPPSRV utility.
  7. *
  8. *
  9. *************************************************************************/
  10. /*
  11. * General application definitions.
  12. */
  13. #define SUCCESS 0
  14. #define FAILURE 1
  15. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  16. /*
  17. * Maximum server name length
  18. */
  19. #define MAXNAME 48
  20. #define MAXADDRESS 50
  21. /*
  22. * Resource string IDs
  23. */
  24. #define IDS_ERROR_MALLOC 100
  25. #define IDS_ERROR_INVALID_PARAMETERS 101
  26. #define IDS_ERROR_SERVER_ENUMERATE 102
  27. #define IDS_ERROR_SERVER_INFO 103
  28. #define IDS_HELP_USAGE1 104
  29. #define IDS_HELP_USAGE2 105
  30. #define IDS_HELP_USAGE3 106
  31. #define IDS_HELP_USAGE4 107
  32. #define IDS_HELP_USAGE5 108
  33. #define IDS_HELP_USAGE6 109
  34. #define IDS_HELP_USAGE7 110
  35. #define IDS_TITLE 111
  36. #define IDS_TITLE1 112
  37. #define IDS_TITLE_ADDR 113
  38. #define IDS_TITLE_ADDR1 114
  39. #define IDS_ERROR_NOT_TS 115
  40. #define IDS_PAUSE_MSG 116
  41. #define IDS_ERROR_TERMSERVER_NOT_FOUND 117
  42. #define IDS_ERROR_NO_TERMSERVER_IN_DOMAIN 118
  43. /*
  44. * Binary tree traverse function
  45. */
  46. typedef void (* PTREETRAVERSE) ( LPTSTR, LPTSTR );