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.

44 lines
1.6 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /***********************************************************************
  3. *
  4. * CHGPORT.H
  5. * This module contains typedefs and defines required for
  6. * the CHGPORT utility.
  7. *
  8. *************************************************************************/
  9. /*
  10. * General application definitions.
  11. */
  12. #define SUCCESS 0
  13. #define FAILURE 1
  14. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  15. /*
  16. * Structure for com port name mappings
  17. */
  18. typedef struct _COMNAME {
  19. PWCHAR com_pwcNTName; /* pointer to NT name of device */
  20. PWCHAR com_pwcDOSName; /* pointer to DOS name of device */
  21. struct _COMNAME *com_pnext; /* next entry in list */
  22. } COMNAME, *PCOMNAME;
  23. /*
  24. * Resource string IDs
  25. */
  26. #define IDS_ERROR_MALLOC 100
  27. #define IDS_ERROR_INVALID_PARAMETERS 101
  28. #define IDS_ERROR_GETTING_COMPORTS 102
  29. #define IDS_ERROR_DEL_PORT_MAPPING 103
  30. #define IDS_ERROR_CREATE_PORT_MAPPING 104
  31. #define IDS_ERROR_PORT_MAPPING_EXISTS 105
  32. #define IDS_ERROR_NO_SERIAL_PORTS 106
  33. #define IDS_HELP_USAGE1 107
  34. #define IDS_HELP_USAGE2 108
  35. #define IDS_HELP_USAGE3 109
  36. #define IDS_HELP_USAGE4 110
  37. #define IDS_HELP_USAGE5 111
  38. #define IDS_ERROR_NOT_TS 112