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.

161 lines
7.6 KiB

  1. /**********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990, 1991 **/
  4. /**********************************************************************/
  5. /*
  6. HelpNums.h
  7. Help context context codes
  8. FILE HISTORY:
  9. Johnl 1/5/91 Created
  10. Yi-HsinS 10/5/91 Added share dialogs help contexts
  11. */
  12. #ifndef _HELPNUMS_H_
  13. #define _HELPNUMS_H_
  14. #include <uihelp.h>
  15. /*
  16. * Dialog Help Contexts
  17. */
  18. #define HC_OPENFILES (HC_UI_SHELL_BASE+10) // open file dialog
  19. /*
  20. * The actual reserved help contexts for share dialogs.
  21. * IMPORTANT: Do not change these numbers unless you also change the
  22. * help contexts in server manager.
  23. * #define HC_FILEMGRSTOPSHARE (HC_UI_SHELL_BASE+1)
  24. * #define HC_FILEMGRSHAREPROP (HC_UI_SHELL_BASE+2)
  25. * #define HC_FILEMGRNEWSHARE (HC_UI_SHELL_BASE+3)
  26. * #define HC_CURRENTUSERSWARNING (HC_UI_SHELL_BASE+4)
  27. * #define HC_LMSHARELEVELPERMS (HC_UI_SHELL_BASE+5)
  28. * #define HC_SHAREPASSWORDPROMPT (HC_UI_SHELL_BASE+9)
  29. * #define HC_NTSHAREPERMS (HC_UI_SHELL_BASE+11)
  30. * #define HC_SHAREADDUSER (HC_UI_SHELL_BASE+12)
  31. * #define HC_SHAREADDUSER_LOCALGROUP (HC_UI_SHELL_BASE+13)
  32. * #define HC_SHAREADDUSER_GLOBALGROUP (HC_UI_SHELL_BASE+14)
  33. * #define HC_SHAREADDUSER_FINDUSER (HC_UI_SHELL_BASE+15)
  34. * #define HC_PASSWORD_DIALOG (HC_UI_SHELL_BASE+16)
  35. */
  36. // BUGBUG
  37. #define HC_PASSWORD_DIALOG (HC_UI_SHELL_BASE+16)
  38. #define HC_SVRMGRSHAREPROP 1 // share properties in srvmgr
  39. #define HC_SVRMGRNEWSHARE 2 // create a new share dialog in srvmgr
  40. #define HC_SVRMGRSHAREMANAGEMENT 3 // share management dialog in srvmgr
  41. /*
  42. * Dialog Help Contexts for share dialogs
  43. * These are shared between the File manager and the Server manager.
  44. * A base help context will be added to each of these to form the
  45. * actual help context.
  46. */
  47. #define HC_FILEMGRSHAREPROP 1 // share properties in filemgr
  48. #define HC_FILEMGRNEWSHARE 2 // create a new share dialog in filemgr
  49. #define HC_FILEMGRSTOPSHARE 3 // stop sharing dialog in filemgr
  50. #define HC_CURRENTUSERSWARNING 4 // current users warning dialog
  51. #define HC_LMSHARELEVELPERMS 5 // share level permissions dialog
  52. #define HC_SHAREPASSWORDPROMPT 9 // prompt password dialog when on a share-level server
  53. #define HC_NTSHAREPERMS 11 // Main share perm dialog
  54. // The following four have to be consecutive
  55. #define HC_SHAREADDUSER 12 // Share perm add dlg
  56. #define HC_SHAREADDUSER_LOCALGROUP 13 // Share perm add->Members
  57. #define HC_SHAREADDUSER_GLOBALGROUP 14 // Share perm add->Members
  58. #define HC_SHAREADDUSER_FINDUSER 15 // Share perm add->FindUser
  59. /*
  60. * Help for message popups in the share dialogs.
  61. * These are shared between the File manager and the Server manager.
  62. * A base help context will be added to each of these to form the
  63. * actual help context.
  64. *
  65. * For example, the help context of HC_CHANGEPATHWARNING actually
  66. * depends on whether it's called from the file manager or server manager.
  67. * If it's called from the server manager, then the help context is
  68. * HC_UI_SRVMGR_BASE+111. If it's called from the file manager, the help
  69. * context is HC_UI_SHELL+111.
  70. *
  71. * IMPORTANT: Do not change these numbers unless you also change the
  72. * help contexts in server manager.
  73. */
  74. #define HC_SHAREREMOTEADMINNOTSUPPORTED 50 // IERR_SHARE_REMOTE_ADMIN_NOT_SUPPORTED
  75. #define HC_SHAREINVALIDPERMISSIONS 51 // IERR_SHARE_INVALID_PERMISSIONS
  76. #define HC_SHAREINVALIDCOMMENT 52 // IERR_SHARE_INVALID_COMMENT
  77. #define HC_SHAREINVALIDSHAREPATH 53 // IERR_SHARE_INVALID_SHAREPATH
  78. #define HC_SHAREINVALIDLOCALPATH 54 // IERR_SHARE_INVALID_LOCAL_PATH
  79. #define HC_SHAREINVALIDSHARE 55 // IERR_SHARE_INVALID_SHARE
  80. #define HC_SHAREINVALIDUSERLIMIT 56 // IERR_SHARE_INVALID_USERLIMIT
  81. #define HC_SPECIALSHAREINVALIDPATH 57 // IERR_SPECIAL_SHARE_INVALID_PATH
  82. #define HC_SPECIALSHAREINVALIDCOMMENT 58 // IERR_SPECIAL_SHARE_INVALID_COMMENT
  83. #define HC_SPECIALSHARECANNOTCHANGEPATH 59 // IDS_SPECIAL_SHARE_CANNOT_CHANGE_PATH
  84. #define HC_SHAREPROPCHANGEPASSWDWARN 60 // IDS_SHARE_PROP_CHANGE_PASSWD_WARN_TEXT
  85. #define HC_CHANGEPATHWARNING 61 // IDS_CHANGE_PATH_WARNING
  86. #define HC_SHARENOTACCESSIBLEFROMDOS 62 // IDS_SHARE_NOT_ACCESSIBLE_FROM_DOS
  87. #define HC_CANNOTSETPERMONLMUSERSERVER 63 // IDS_CANNOT_SET_PERM_ON_LMUSER_SERVER
  88. /*
  89. * The actual reserved help contexts for message popups in the share dialogs.
  90. * IMPORTANT: Do not change these numbers unless you also change the
  91. * help contexts in server manager.
  92. *
  93. * #define HC_SHAREREMOTEADMINNOTSUPPORTED (HC_UI_SHELL_BASE + 50)
  94. * #define HC_SHAREINVALIDPERMISSIONS (HC_UI_SHELL_BASE + 51)
  95. * #define HC_SHAREINVALIDCOMMENT (HC_UI_SHELL_BASE + 52)
  96. * #define HC_SHAREINVALIDSHAREPATH (HC_UI_SHELL_BASE + 53)
  97. * #define HC_SHAREINVALIDLOCALPATH (HC_UI_SHELL_BASE + 54)
  98. * #define HC_SHAREINVALIDSHARE (HC_UI_SHELL_BASE + 55)
  99. * #define HC_SHAREINVALIDUSERLIMIT (HC_UI_SHELL_BASE + 56)
  100. * #define HC_SPECIALSHAREINVALIDPATH (HC_UI_SHELL_BASE + 57)
  101. * #define HC_SPECIALSHAREINVALIDCOMMENT (HC_UI_SHELL_BASE + 58)
  102. * #define HC_SPECIALSHARECANNOTCHANGEPATH (HC_UI_SHELL_BASE + 59)
  103. * #define HC_SHAREPROPCHANGEPASSWDWARN (HC_UI_SHELL_BASE + 60)
  104. * #define HC_CHANGEPATHWARNING (HC_UI_SHELL_BASE + 61)
  105. * #define HC_SHARENOTACCESSIBLEFROMDOS (HC_UI_SHELL_BASE + 62)
  106. * #define HC_CANNOTSETPERMONLMUSERSERVER (HC_UI_SHELL_BASE + 63)
  107. */
  108. #ifndef WIN32
  109. /*
  110. * Dialog Help Contexts
  111. */
  112. #define HC_WKSTANOTSTARTED (HC_UI_SHELL_BASE+150)
  113. #define HC_BADLOGONPASSWD (HC_UI_SHELL_BASE+151)
  114. #define HC_BADLOGONNAME (HC_UI_SHELL_BASE+152)
  115. #define HC_BADDOMAINNAME (HC_UI_SHELL_BASE+153)
  116. #define HC_LOSESAVEDCONNECTION (HC_UI_SHELL_BASE+154)
  117. #define HC_REPLACESAVEDCONNECTION (HC_UI_SHELL_BASE+155)
  118. #define HC_PROFILEREADWRITEERROR (HC_UI_SHELL_BASE+156)
  119. #define HC_OUTOFSTRUCTURES (HC_UI_SHELL_BASE+157)
  120. /*
  121. * Help for message popups
  122. */
  123. #define HC_LOGON (HC_UI_SHELL_BASE+200) // logon dialog
  124. #define HC_CHANGEPASSWD (HC_UI_SHELL_BASE+201) // change passwd
  125. #define HC_PASSWDEXPIRY (HC_UI_SHELL_BASE+202) // change expired passwd
  126. #define HC_CONNECTDRIVE (HC_UI_SHELL_BASE+203) // connect net drive (win31)
  127. #define HC_BROWSEDRIVE (HC_UI_SHELL_BASE+204) // browse net drive (win30)
  128. #define HC_BROWSEPRINT (HC_UI_SHELL_BASE+205) // browse lpt (win30)
  129. #define HC_SENDMSG (HC_UI_SHELL_BASE+206) // send message
  130. #define HC_DISCONNECTDRIVE (HC_UI_SHELL_BASE+207) // disconnect net drive (win31)
  131. #define HC_CONNECTPRINT (HC_UI_SHELL_BASE+208) // connect lpt (win31)
  132. #define HC_PASSWDPROMPT (HC_UI_SHELL_BASE+209) // prompt for passwd
  133. #endif // !WIN32
  134. //
  135. // Context-sensitive help constants
  136. //
  137. #define IDH_PASSWORD 1000
  138. #define IDH_CONNECTAS 1005
  139. #endif // _HELPNUMS_H_