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.

129 lines
2.8 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. XsParm16.h
  5. Abstract:
  6. Constants for PARMNUM values for 16-bit info structures. 16-bit
  7. clients use these values for parmnum parameters, while NT uses
  8. its own values.
  9. ??UNICODE?? - Once the SetInfo calls are converted to the new
  10. format (see NetShareSetInfo), this file is no longer
  11. required.
  12. Author:
  13. Shanku Niyogi (w-shanku) 03-Apr-1991
  14. Revision History:
  15. --*/
  16. #ifndef _XSPARM16_
  17. #define _XSPARM16_
  18. //
  19. // Standard PARMNUM_ALL value.
  20. //
  21. #define PARMNUM_16_ALL 0
  22. //
  23. // access_info_x parmnums.
  24. //
  25. #define PARMNUM_16_ACCESS_ATTR 2
  26. //
  27. // chardevQ_info_x parmnums.
  28. //
  29. #define PARMNUM_16_CHARDEVQ_PRIORITY 2
  30. #define PARMNUM_16_CHARDEVQ_DEVS 3
  31. //
  32. // group_info_x parmnums.
  33. //
  34. #define PARMNUM_16_GRP1_COMMENT 2
  35. //
  36. // share_info_x parmnums.
  37. //
  38. #define PARMNUM_16_SHI_REMARK 4
  39. #define PARMNUM_16_SHI_PERMISSIONS 5
  40. #define PARMNUM_16_SHI_MAX_USES 6
  41. #define PARMNUM_16_SHI_PASSWD 9
  42. //
  43. // server_info_x parmnums.
  44. //
  45. #define PARMNUM_16_SV_COMMENT 5
  46. #define PARMNUM_16_SV_DISC 10
  47. #define PARMNUM_16_SV_ALERTS 11
  48. #define PARMNUM_16_SV_HIDDEN 16
  49. #define PARMNUM_16_SV_ANNOUNCE 17
  50. #define PARMNUM_16_SV_ANNDELTA 18
  51. #define PARMNUM_16_SV_ALERTSCHED 37
  52. #define PARMNUM_16_SV_ERRORALERT 38
  53. #define PARMNUM_16_SV_LOGONALERT 39
  54. #define PARMNUM_16_SV_ACCESSALERT 40
  55. #define PARMNUM_16_SV_DISKALERT 41
  56. #define PARMNUM_16_SV_NETIOALERT 42
  57. #define PARMNUM_16_SV_MAXAUDITSZ 43
  58. //
  59. // user_info_x parmnums.
  60. //
  61. #define PARMNUM_16_USER_PASSWD 3
  62. #define PARMNUM_16_USER_PRIV 5
  63. #define PARMNUM_16_USER_DIR 6
  64. #define PARMNUM_16_USER_COMMENT 7
  65. #define PARMNUM_16_USER_USER_FLAGS 8
  66. #define PARMNUM_16_USER_SCRIPT_PATH 9
  67. #define PARMNUM_16_USER_AUTH_FLAGS 10
  68. #define PARMNUM_16_USER_FULL_NAME 11
  69. #define PARMNUM_16_USER_USR_COMMENT 12
  70. #define PARMNUM_16_USER_PARMS 13
  71. #define PARMNUM_16_USER_WORKSTATIONS 14
  72. #define PARMNUM_16_USER_ACCT_EXPIRES 17
  73. #define PARMNUM_16_USER_MAX_STORAGE 18
  74. #define PARMNUM_16_USER_LOGON_HOURS 20
  75. #define PARMNUM_16_USER_LOGON_SERVER 23
  76. #define PARMNUM_16_USER_COUNTRY_CODE 24
  77. #define PARMNUM_16_USER_CODE_PAGE 25
  78. //
  79. // user_modals_info_x parmnums
  80. //
  81. #define PARMNUM_16_MODAL0_MIN_LEN 1 // These two must be the same!
  82. #define PARMNUM_16_MODAL1_ROLE 1
  83. #define PARMNUM_16_MODAL0_MAX_AGE 2 // These two must be the same!
  84. #define PARMNUM_16_MODAL1_PRIMARY 2
  85. #define PARMNUM_16_MODAL0_MIN_AGE 3
  86. #define PARMNUM_16_MODAL0_FORCEOFF 4
  87. #define PARMNUM_16_MODAL0_HISTLEN 5
  88. //
  89. // wksta_info_x parmnums
  90. //
  91. #define PARMNUM_16_WKSTA_CHARWAIT 10
  92. #define PARMNUM_16_WKSTA_CHARTIME 11
  93. #define PARMNUM_16_WKSTA_CHARCOUNT 12
  94. #define PARMNUM_16_WKSTA_ERRLOGSZ 27
  95. #define PARMNUM_16_WKSTA_PRINTBUFTIME 28
  96. #define PARMNUM_16_WKSTA_WRKHEURISTICS 32
  97. #define PARMNUM_16_WKSTA_OTHDOMAINS 35
  98. #endif // ndef _XSPARM16_