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.
 
 

90 lines
3.4 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. namespace Alphaleonis.Win32.Network
  22. {
  23. internal static partial class NativeMethods
  24. {
  25. /// <summary>The display options for the network object in a network browsing user interface.</summary>
  26. internal enum ResourceDisplayType
  27. {
  28. /// <summary>RESOURCEDISPLAYTYPE_GENERIC
  29. /// <para>The method used to display the object does not matter.</para>
  30. /// </summary>
  31. Generic = 0,
  32. /// <summary>RESOURCEDISPLAYTYPE_DOMAIN
  33. /// <para>The object should be displayed as a domain.</para>
  34. /// </summary>
  35. Domain = 1,
  36. /// <summary>RESOURCEDISPLAYTYPE_SERVER
  37. /// <para>The object should be displayed as a server.</para>
  38. /// </summary>
  39. Server = 2,
  40. /// <summary>RESOURCEDISPLAYTYPE_SHARE
  41. /// <para>The object should be displayed as a share</para>
  42. /// </summary>
  43. Share = 3,
  44. /// <summary>RESOURCEDISPLAYTYPE_FILE
  45. /// <para>The object should be displayed as a file.</para>
  46. /// </summary>
  47. File = 4,
  48. /// <summary>RESOURCEDISPLAYTYPE_GROUP
  49. /// <para>The object should be displayed as a group.</para>
  50. /// </summary>
  51. Group = 5,
  52. /// <summary>RESOURCEDISPLAYTYPE_NETWORK
  53. /// <para>The object should be displayed as a network.</para>
  54. /// </summary>
  55. Network = 6,
  56. /// <summary>RESOURCEDISPLAYTYPE_ROOT
  57. /// <para>The object should be displayed as a logical root for the entire network.</para>
  58. /// </summary>
  59. Root = 7,
  60. /// <summary>RESOURCEDISPLAYTYPE_SHAREADMIN
  61. /// <para>The object should be displayed as a administrative share.</para>
  62. /// </summary>
  63. ShareAdmin = 8,
  64. /// <summary>RESOURCEDISPLAYTYPE_DIRECTORY
  65. /// <para>The object should be displayed as a directory.</para>
  66. /// </summary>
  67. Directory = 9,
  68. /// <summary>RESOURCEDISPLAYTYPE_TREE
  69. /// <para>The object should be displayed as a tree.</para>
  70. /// </summary>
  71. Tree = 10,
  72. /// <summary>RESOURCEDISPLAYTYPE_NDSCONTAINER
  73. /// <para>The object should be displayed as a Netware Directory Service container.</para>
  74. /// </summary>
  75. NdsContainer = 11
  76. }
  77. }
  78. }