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.

228 lines
7.2 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1992 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //Jameel: please check all these, especially those that have comments to you.
  5. //***
  6. //
  7. // Filename: srvmsg.h
  8. //
  9. // Description: Text and corresponding values of AFP Server events are
  10. // defined here.
  11. //
  12. // History: Nov 23,1992. SueA Created original version.
  13. // Jan 28,1993. SueA Logging now done from user mode
  14. // so %1 is no longer \Device\AfpSrv
  15. //
  16. // Don't change the comments following the manifest constants without
  17. // understanding how mapmsg works.
  18. //
  19. #define AFPMACFILE_MSG_BASE 6000
  20. #define AFPMACFILEMSG_InvalidVolumeName (AFPMACFILE_MSG_BASE+1)
  21. /*
  22. * The Macintosh-Accessible volume name specified is invalid.
  23. * Specify a valid volume name without colons.
  24. */
  25. #define AFPMACFILEMSG_InvalidId (AFPMACFILE_MSG_BASE+2)
  26. /*
  27. * A system resource could not be accessed for the current descriptor.
  28. * Try the operation again.
  29. */
  30. #define AFPMACFILEMSG_InvalidParms (AFPMACFILE_MSG_BASE+3)
  31. /*
  32. * The parameter entered was invalid.
  33. * Make the appropriate changes and retry the operation.
  34. */
  35. #define AFPMACFILEMSG_CodePage (AFPMACFILE_MSG_BASE+4)
  36. /*
  37. * Error in accessing Macintosh Code Page.
  38. * Check if the Code Page file name specified in
  39. * SYSTEM\CurrentControlSet\Control\Nls\CodePage\MACCP is valid and exists.
  40. * Stop and restart the service if the code page information is modified.
  41. */
  42. #define AFPMACFILEMSG_InvalidServerName (AFPMACFILE_MSG_BASE+5)
  43. /*
  44. * The server name specified is invalid.
  45. * Specify a valid server name without colons.
  46. */
  47. #define AFPMACFILEMSG_DuplicateVolume (AFPMACFILE_MSG_BASE+6)
  48. /*
  49. * A volume with this name already exists.
  50. * Specify another name for the new volume.
  51. */
  52. #define AFPMACFILEMSG_VolumeBusy (AFPMACFILE_MSG_BASE+7)
  53. /*
  54. * The selected Macintosh-Accessible volume is currently in use by Macintoshes.
  55. * The selected volume may be removed only when no Macintosh workstations are
  56. * connected to it.
  57. */
  58. #define AFPMACFILEMSG_VolumeReadOnly (AFPMACFILE_MSG_BASE+8)
  59. /*
  60. * Not used
  61. * An internal error 6008 (VolumeReadOnly) occurred.
  62. */
  63. #define AFPMACFILEMSG_DirectoryNotInVolume (AFPMACFILE_MSG_BASE+9)
  64. /*
  65. * The selected directory does not belong to a Macintosh-Accessible volume.
  66. * The Macintosh view of directory permissions is only available for
  67. * directories that are part of a Macintosh-Accessible volume.
  68. */
  69. #define AFPMACFILEMSG_SecurityNotSupported (AFPMACFILE_MSG_BASE+10)
  70. /*
  71. * The Macintosh view of directory permissions is not available for directories
  72. * on CD-ROM disks.
  73. */
  74. #define AFPMACFILEMSG_BufferSize (AFPMACFILE_MSG_BASE+11)
  75. /*
  76. * Insufficient memory resources to complete the operation.
  77. * Try the operation again.
  78. */
  79. #define AFPMACFILEMSG_DuplicateExtension (AFPMACFILE_MSG_BASE+12)
  80. /*
  81. * This file extension is already associated with a Creator/Type item.
  82. */
  83. #define AFPMACFILEMSG_UnsupportedFS (AFPMACFILE_MSG_BASE+13)
  84. /*
  85. * File Server for Macintosh service only supports NTFS partitions.
  86. * Choose a directory on an NTFS partition.
  87. */
  88. #define AFPMACFILEMSG_InvalidSessionType (AFPMACFILE_MSG_BASE+14)
  89. /*
  90. * The message has been sent, but not all of the connected workstations have
  91. * received it. Some workstations are running an unsupported version of
  92. * system software.
  93. */
  94. #define AFPMACFILEMSG_InvalidServerState (AFPMACFILE_MSG_BASE+15)
  95. /*
  96. * The File Server is in an invalid state for the operation being performed.
  97. * Check the status of the File Server for Macintosh service and retry the
  98. * operation.
  99. */
  100. #define AFPMACFILEMSG_NestedVolume (AFPMACFILE_MSG_BASE+16)
  101. /*
  102. * Cannot create a Macintosh-Accessible volume within another volume.
  103. * Choose a directory that is not within a volume.
  104. */
  105. #define AFPMACFILEMSG_InvalidComputername (AFPMACFILE_MSG_BASE+17)
  106. /*
  107. * The target server is not setup to accept Remote Procedure Calls.
  108. */
  109. #define AFPMACFILEMSG_DuplicateTypeCreator (AFPMACFILE_MSG_BASE+18)
  110. /*
  111. * The selected Creator/Type item already exists.
  112. */
  113. #define AFPMACFILEMSG_TypeCreatorNotExistant (AFPMACFILE_MSG_BASE+19)
  114. /*
  115. * The selected Creator/Type item no longer exists.
  116. * This item may have been deleted by another administrator.
  117. */
  118. #define AFPMACFILEMSG_CannotDeleteDefaultTC (AFPMACFILE_MSG_BASE+20)
  119. /*
  120. * The default Creator/Type item cannot be deleted.
  121. */
  122. #define AFPMACFILEMSG_CannotEditDefaultTC (AFPMACFILE_MSG_BASE+21)
  123. /*
  124. * The default Creator/Type item may not be edited.
  125. */
  126. #define AFPMACFILEMSG_InvalidTypeCreator (AFPMACFILE_MSG_BASE+22)
  127. /*
  128. * The Creator/Type item is invalid and will not be use by the File Server
  129. * for Macintosh service.
  130. * The invalid Creator/Type item is in the data.
  131. */
  132. #define AFPMACFILEMSG_InvalidExtension (AFPMACFILE_MSG_BASE+23)
  133. /*
  134. * The file extension is invalid.
  135. * The invalid file extension is in the data.
  136. */
  137. #define AFPMACFILEMSG_TooManyEtcMaps (AFPMACFILE_MSG_BASE+24)
  138. /*
  139. * Too many Extension/Type Creator mappings than the system can handle.
  140. * System limit is 2147483647 mappings.
  141. */
  142. #define AFPMACFILEMSG_InvalidPassword (AFPMACFILE_MSG_BASE+25)
  143. /*
  144. * The password specified is invalid.
  145. * Specify a valid password less than 8 characters.
  146. */
  147. #define AFPMACFILEMSG_VolumeNonExist (AFPMACFILE_MSG_BASE+26)
  148. /*
  149. * The selected Macintosh-Accessible volume no longer exists.
  150. * Another administrator may have removed the selected volume.
  151. */
  152. #define AFPMACFILEMSG_NoSuchUserGroup (AFPMACFILE_MSG_BASE+27)
  153. /*
  154. * Neither the Owner nor the Primary Group account names are valid.
  155. * Specify valid account names for the Owner and Primary Group of
  156. * this directory.
  157. */
  158. #define AFPMACFILEMSG_NoSuchUser (AFPMACFILE_MSG_BASE+28)
  159. /*
  160. * The Owner account name is invalid.
  161. * Specify a valid account name or the Owner of this directory.
  162. */
  163. #define AFPMACFILEMSG_NoSuchGroup (AFPMACFILE_MSG_BASE+29)
  164. /*
  165. * The Primary Group account name is invalid.
  166. * Specify a valid account name for the Primary Group of this directory.
  167. */
  168. #define AFPMACFILEMSG_InvalidParms_LoginMsg (AFPMACFILE_MSG_BASE+30)
  169. /*
  170. * The Logon Message entered for the File Server for Macintosh was invalid.
  171. * Logon Message should not be greater than 199 characters.
  172. * Make the appropriate changes and retry the operation.
  173. */
  174. #define AFPMACFILEMSG_InvalidParms_MaxVolUses (AFPMACFILE_MSG_BASE+31)
  175. /*
  176. * The User Limit entered for the Share Volume was invalid.
  177. * Enter a number between 0 and 4294967295.
  178. * Make the appropriate changes and retry the operation.
  179. */
  180. #define AFPMACFILEMSG_InvalidParms_MaxSessions (AFPMACFILE_MSG_BASE+32)
  181. /*
  182. * The Sessions Limit field entered for the File Server was invalid.
  183. * Enter a number between 0 and 4294967295.
  184. * Make the appropriate changes and retry the operation.
  185. */
  186. #define AFPMACFILEMSG_InvalidServerName_Length (AFPMACFILE_MSG_BASE+33)
  187. /*
  188. * The server name specified is not of valid length.
  189. * Specify a server name containing not more than 31 single-byte characters
  190. * or not more than 15 double-byte characters.
  191. */