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.

FINDEX_INFO_LEVELS.cs 2.3 KiB

8 vuotta sitten
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. namespace Alphaleonis.Win32.Filesystem
  22. {
  23. internal static partial class NativeMethods
  24. {
  25. /// <summary>FINDEX_INFO_LEVELS Enumeration - Defines values that are used with the FindFirstFileEx function to specify the information level of the returned data.</summary>
  26. /// <remarks>
  27. /// <para>Minimum supported client: Windows XP [desktop apps | Windows Store apps]</para>
  28. /// <para>Minimum supported server: Windows Server 2003 [desktop apps | Windows Store apps]</para>
  29. /// </remarks>
  30. internal enum FINDEX_INFO_LEVELS
  31. {
  32. /// <summary>A standard set of attribute is returned in a <see cref="WIN32_FIND_DATA"/> structure.</summary>
  33. Standard = 0,
  34. /// <summary>The FindFirstFileEx function does not query the short file name, improving overall enumeration speed.</summary>
  35. /// <remarks>This value is not supported until Windows Server 2008 R2 and Windows 7.</remarks>
  36. Basic = 1
  37. ///// <summary>This value is used for validation. Supported values are less than this value.</summary>
  38. //MaxLevel
  39. }
  40. }
  41. }