Edit

Share via


FORMAT_EX_PARAMETERS structure (winioctl.h)

Contains information used in formatting a contiguous set of disk tracks. It is used by the IOCTL_DISK_FORMAT_TRACKS_EX control code.

Syntax

typedef struct _FORMAT_EX_PARAMETERS {
  MEDIA_TYPE MediaType;
  DWORD      StartCylinderNumber;
  DWORD      EndCylinderNumber;
  DWORD      StartHeadNumber;
  DWORD      EndHeadNumber;
  WORD       FormatGapLength;
  WORD       SectorsPerTrack;
  WORD       SectorNumber[1];
} FORMAT_EX_PARAMETERS, *PFORMAT_EX_PARAMETERS;

Members

MediaType

The media type. For a list of values, see MEDIA_TYPE.

StartCylinderNumber

The cylinder number at which to begin the format.

EndCylinderNumber

The cylinder number at which to end the format.

StartHeadNumber

The beginning head ___location.

EndHeadNumber

The ending head ___location.

FormatGapLength

The length of the gap between two successive sectors on a track.

SectorsPerTrack

The number of sectors in each track.

SectorNumber[1]

An array of values specifying the sector numbers of the sectors to be included in the track to be formatted.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

IOCTL_DISK_FORMAT_TRACKS_EX

MEDIA_TYPE