Detecting available CDROM drives

Detecting CDROM drive device information
This commit is contained in:
chudov
2008-11-30 01:43:17 +00:00
parent 524097b059
commit 2db66848bf
5 changed files with 46 additions and 6 deletions

View File

@@ -168,7 +168,12 @@ namespace Bwg.Scsi
#region private methods
private static string GetNtDeviceNameForDrive(string name)
/// <summary>
/// Return the NT name for a drive given its drive letter
/// </summary>
/// <param name="name">the drive letter</param>
/// <returns>the NT name</returns>
public static string GetNtDeviceNameForDrive(string name)
{
string result;
const int buflen = 512;