GetLogicalDriveStrings Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll", EntryPoint = "GetLogicalDriveStringsA", CharSet = CharSet.Ansi)]
public static extern int GetLogicalDriveStrings(int nBufferLength, 
	[MarshalAs(UnmanagedType.LPArray)] byte[] lpBuffer);