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

Search Results for "GetDriveType" in [All]

kernel32

.
Summary
.

  /// The GetDriveType function determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive

.

  public static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPStr)] string lpRootPathName);

.

  Private Declare Function GetDriveType Lib "kernel32" _

.

  Alias "GetDriveTypeA" (ByVal lpRootPathName As String) As Integer

.

  public static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPTStr)] string lpRootPathName);

.

    public static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPStr)] string lpRootPathName);

.

        DriveType dt = GetDriveType("D:\\");//for me this is cdrom

.
Documentation
[GetDriveType] on MSDN

Enums

.
Summary

 
Access PInvoke.net directly from VS: