Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

NetDriveTypes (Enums)
 
.
Summary
NetDriveTypes - Return values of IsNetDrive
Summary
NetDriveTypes - Return values of IsNetDrive()

C# Definition:

/// <summary>
/// Return values of IsNetDrive()
/// </summary>
enum NetDriveTypes : int
{
     /// <summary>
     /// The specified drive is not a network drive.
     /// </summary>
     NotNetDrive = 0,
     /// <summary>
     /// The specified drive is a network drive that is properly connected.
     /// </summary>
     NetDriveConnected = 1,
     /// <summary>
     /// The specified drive is a network drive that is disconnected or in an error state.
     /// </summary>
     NetDriveError = 2
  }

VB.NET definition

''' <summary>
''' Return values of IsNetDrive()
''' </summary>
Public Enum NetDriveTypes As Integer
     ''' <summary>
     ''' The specified drive is not a network drive.
     ''' </summary>
     NotNetDrive = 0
     ''' <summary>
     ''' The specified drive is a network drive that is properly connected.
     ''' </summary>
     NetDriveConnected = 1
     ''' <summary>
     ''' The specified drive is a network drive that is disconnected or in an error state.
     ''' </summary>
     NetDriveError = 2
End Enum

VB Definition:

Public Enum NetDriveTypes
     NotNetDrive As Long = 0
     NetDriveConnected As Long = 1
     NetDriveError As Long = 2
End Enum

Notes:

None.

Documentation
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions