public static extern uint GetPartitionExInfo(char partitionLetter, ref DSK_VOLUME_INFO diskVolumeInfo);
/// <summary> /// 获取分区信息 /// </summary> /// <param name="partitionLetter">分区盘符</param> /// <param name="diskVolumeInfo">分区信息</param> public uint GetPartitionExInfoEx(char partitionLetter, ref DSK_VOLUME_INFO diskVolumeInfo) { return(GetPartitionExInfo(partitionLetter, ref diskVolumeInfo)); }