Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1639608
  • 博文数量: 584
  • 博客积分: 13857
  • 博客等级: 上将
  • 技术积分: 11883
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-16 09:34

分类: WINDOWS

2011-03-29 16:18:09

The following table identifies the control codes that are used in disk management.

In This Section
TopicDescription

Initializes the specified disk and disk partition table using the information in the structure.

Removes the boot signature from the master boot record, so that the disk will be formatted from sector zero to the end of the disk.

Formats a specified, contiguous set of tracks on a floppy disk. To provide additional parameters, use instead.

Formats a specified, contiguous set of tracks on a floppy disk.

Retrieves the disk cache configuration data.

Retrieves information about the physical disk's geometry: type, number of cylinders, tracks per cylinder, sectors per track, and bytes per sector.

Retrieves extended information about the physical disk's geometry: type, number of cylinders, tracks per cylinder, sectors per track, and bytes per sector.

Retrieves information for each entry in the partition tables for a disk.

Retrieves extended information for each entry in the partition tables for a disk.

Retrieves the length of the specified disk, volume, or partition.

Retrieves information about the type, size, and nature of a disk partition.

Retrieves extended information about the type, size, and nature of a disk partition.

Enlarges the specified partition.

Determines whether the specified disk is writable.

Enables performance counters that provide disk performance information.

Disables the performance counters that provide disk performance information.

Directs the disk device to map one or more blocks to its spare-block pool.

Directs the disk device to map one or more blocks to its spare-block pool.

Clears all Volume Shadow Copy Service (VSS) hardware-based shadow copy (also called "snapshot") information from the disk.

To perform this operation, call the function with the following parameters.

Sets the disk configuration data.

Partitions a disk as specified by drive layout and partition information data.

Partitions a disk according to the specified drive layout and partition information data.

Sets partition information for the specified disk partition.

Sets partition information for the specified disk partition, including layout information for AT and EFI (Extensible Firmware Interface) partitions.

Invalidates the cached partition table and re-enumerates the device.

Verifies the specified extent on a fixed disk.

Returns the properties of a storage device or adapter. The request indicates the kind of information to retrieve, such as the inquiry data for a device or the capabilities and limitations of an adapter. can also be used to determine whether the port driver supports a particular property or which fields in the property descriptor can be modified with a subsequent change-property request.

 



  IOCTL_DISK_CREATE_DISK 用特定的信息初始化指定的磁盘和磁盘分区表

  IOCTL_DISK_FORMAT_TRACKS 格式化一组连续的磁道

  IOCTL_DISK_GET_DRIVE_GEOMETRY 获取关于物理磁盘几何属性的信息

  IOCTL_DISK_GET_DRIVE_GEOMETRY_EX 获取关于物理磁盘几何属性的信息

  IOCTL_DISK_GET_DRIVE_LAYOUT_EX 获取一个磁盘的分区数量和每个分区的特征信息

  IOCTL_DISK_GET_LENGTH_INFO 获得指定磁盘、卷、分区的长度

  IOCTL_DISK_GET_PARTITION_INFO_EX 获取自动变速(AT)分区和可扩展固件接口(EFI)分区的分区信息

  IOCTL_DISK_PERFORMANCE 提供磁盘性能信息

  IOCTL_DISK_REASSIGN_BLOCKS 将磁盘块映射到空闲块池

  IOCTL_DISK_SET_DRIVE_LAYOUT_EX 将磁盘分区

  IOCTL_DISK_SET_PARTITION_INFO_EX 设置分区类型

  IOCTL_DISK_UPDATE_PROPERTIES 使特定磁盘的cache分区表无效并重新枚举磁盘

  IOCTL_DISK_VERIFY 对磁盘大小进行逻辑检测

  IOCTL_SERIAL_LSRMST_INSERT (不)使电话线和Modem的连接状态信息发送到数据流中

  IOCTL_STORAGE_CHECK_VERIFY 检测可移动媒体设备的改变

  IOCTL_STORAGE_EJECT_MEDIA 弹出SCSI设备中的媒体(比如光盘)

  IOCTL_STORAGE_GET_HOTPLUG_INFO 获取指定设备的热插拔配置

  IOCTL_STORAGE_GET_MEDIA_TYPES 获取媒体支持信息

  IOCTL_STORAGE_LOAD_MEDIA 将媒体装入设备

  IOCTL_STORAGE_MEDIA_REMOVAL (不)使能媒体弹出装置

  IOCTL_STORAGE_SET_HOTPLUG_INFO 设置指定设备的热插拔配置

  IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS 获取一个或多个磁盘上指定卷的物理单元

  IOCTL_VOLUME_IS_CLUSTERED 决定是否为一个卷作索引

阅读(1079) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~