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.
 
 

107 lines
4.6 KiB

  1. /* Copyright (C) 2008-2016 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
  2. *
  3. * Permission is hereby granted, free of charge, to any person obtaining a copy
  4. * of this software and associated documentation files (the "Software"), to deal
  5. * in the Software without restriction, including without limitation the rights
  6. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. * copies of the Software, and to permit persons to whom the Software is
  8. * furnished to do so, subject to the following conditions:
  9. *
  10. * The above copyright notice and this permission notice shall be included in
  11. * all copies or substantial portions of the Software.
  12. *
  13. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. * THE SOFTWARE.
  20. */
  21. using System.Diagnostics.CodeAnalysis;
  22. namespace Alphaleonis.Win32.Filesystem
  23. {
  24. /// <summary>Enumeration specifying the different reparse point tags.</summary>
  25. /// <remarks>
  26. /// <para>Reparse tags, with the exception of IO_REPARSE_TAG_SYMLINK, are processed on the server and are not processed by a client after transmission over the wire.</para>
  27. /// <para>Clients should treat associated reparse data as opaque data.</para>
  28. /// </remarks>
  29. public enum ReparsePointTag
  30. {
  31. /// <summary>The entry is not a reparse point.</summary>
  32. None = 0,
  33. /// <summary>IO_REPARSE_APPXSTREAM</summary>
  34. AppXStream = unchecked ((int) 3221225492),
  35. /// <summary>IO_REPARSE_TAG_CSV</summary>
  36. Csv = unchecked ((int) 2147483657),
  37. /// <summary>IO_REPARSE_TAG_DRIVER_EXTENDER
  38. /// <para>Used by Home server drive extender.</para>
  39. /// </summary>
  40. DriverExtender = unchecked ((int) 2147483653),
  41. /// <summary>IO_REPARSE_TAG_DEDUP</summary>
  42. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Dedup")]
  43. Dedup = unchecked ((int) 2147483667),
  44. /// <summary>IO_REPARSE_TAG_DFS
  45. /// <para>Used by the DFS filter.</para>
  46. /// </summary>
  47. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Dfs")]
  48. Dfs = unchecked ((int) 2147483658),
  49. /// <summary>IO_REPARSE_TAG_DFSR
  50. /// <para>Used by the DFS filter.</para>
  51. /// </summary>
  52. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Dfsr")]
  53. Dfsr = unchecked ((int) 2147483666),
  54. /// <summary>IO_REPARSE_TAG_FILTER_MANAGER
  55. /// <para>Used by filter manager test harness.</para>
  56. /// </summary>
  57. FilterManager = unchecked ((int) 2147483659),
  58. /// <summary>IO_REPARSE_TAG_HSM
  59. /// <para>(Obsolete) Used by legacy Hierarchical Storage Manager Product.</para>
  60. /// </summary>
  61. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Hsm")]
  62. Hsm = unchecked ((int) 3221225476),
  63. /// <summary>IO_REPARSE_TAG_HSM2
  64. /// <para>(Obsolete) Used by legacy Hierarchical Storage Manager Product.</para>
  65. /// </summary>
  66. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Hsm")]
  67. Hsm2 = unchecked ((int) 2147483654),
  68. /// <summary>IO_REPARSE_TAG_NFS
  69. /// <para>NFS symlinks, Windows 8 / SMB3 and later.</para>
  70. /// </summary>
  71. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Nfs")]
  72. Nfs = unchecked ((int) 2147483668),
  73. /// <summary>IO_REPARSE_TAG_MOUNT_POINT
  74. /// <para>Used for mount point support.</para>
  75. /// </summary>
  76. MountPoint = unchecked ((int) 2684354563),
  77. /// <summary>IO_REPARSE_TAG_SIS
  78. /// <para>Used by single-instance storage (SIS) filter driver.</para>
  79. /// </summary>
  80. Sis = unchecked ((int) 2147483655),
  81. /// <summary>IO_REPARSE_TAG_SYMLINK
  82. /// <para>Used for symbolic link support.</para>
  83. /// </summary>
  84. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sym")]
  85. SymLink = unchecked ((int) 2684354572),
  86. /// <summary>IO_REPARSE_TAG_WIM</summary>
  87. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Wim")]
  88. Wim = unchecked ((int) 2147483656)
  89. }
  90. }