Platform SDK: Hardware

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, *PFORMAT_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 control code.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: 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