FORMAT_PARAMETERS

The FORMAT_PARAMETERS structure provides information used in formatting a contiguous set of disk tracks.

typedef struct _FORMAT_PARAMETERS{ 
   MEDIA_TYPE MediaType; 
   DWORD StartCylinderNumber; 
   DWORD EndCylinderNumber; 
   DWORD StartHeadNumber; 
   DWORD EndHeadNumber; 
} FORMAT_PARAMETERS ; 
 

Members

MediaType
Specifies the media type. See MEDIA_TYPE.
StartCylinderNumber
Specifies the cylinder number at which to begin the format.
EndCylinderNumber
Specifies the cylinder number at which to end the format.
StartHeadNumber
Specifies the beginning head location.
EndHeadNumber
Specifies the ending head location.

Remarks

The DeviceIoControl function uses a FORMAT_PARAMETERS structure as input to an IOCTL_DISK_FORMAT_TRACKS device I/O operation.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winioctl.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, DeviceIoControl, IOCTL_DISK_FORMAT_TRACKS, MEDIA_TYPE