Esempio n. 1
0
 public static extern bool FindNextVolume(VolumeSafeHandle hFindVolume, [Out] char[] lpszVolumeName, uint cchBufferLength);
Esempio n. 2
0
 public static extern bool DeviceIoControl([InAttribute()] VolumeSafeHandle hDevice, UInt32 dwIoControlCode, [InAttribute()] IntPtr lpInBuffer, Int32 nInBufferSize, ref VOLUME_DISK_EXTENTS lpOutBuffer, Int32 nOutBufferSize, ref Int32 lpBytesReturned, IntPtr lpOverlapped);
Esempio n. 3
0
 /// <summary>
 /// ボリューム名を取得する
 /// </summary>
 /// <returns></returns>
 public static IEnumerable <string> FindVolumes() => VolumeSafeHandle.Find();