FORMAT_EX_PARAMETERS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntdddisk.h

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

View the official Windows Driver Kit DDI reference
// winioctl.h

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;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdddisk-_format_ex_parameters)

_FORMAT_EX_PARAMETERS structure

Description

The FORMAT_EX_PARAMETERS structure is used in conjunction with the IOCTL_DISK_FORMAT_TRACKS_EX request to format the specified set of contiguous tracks on the disk.

Members

MediaType

Indicates format information, such as the disk size and the number of bytes per sector. For a list of the values that can be assigned to this member, see MEDIA_TYPE.

StartCylinderNumber

Indicates the number of the cylinder where the formatting should begin.

EndCylinderNumber

Indicates the number of the cylinder where the formatting should end.

StartHeadNumber

Indicates the number of the head where the formatting should begin.

EndHeadNumber

Indicates the number of the head where the formatting should end.

FormatGapLength

Indicates the length in bytes of a format gap.

SectorsPerTrack

Indicates the number of sectors per track.

SectorNumber

Contains an array whose first element indicates the number of the sector where the formatting should begin.

See also

FORMAT_PARAMETERS

IOCTL_DISK_FORMAT_TRACKS

IOCTL_DISK_FORMAT_TRACKS_EX


Win32 API reference (ns-winioctl-format_ex_parameters)

FORMAT_EX_PARAMETERS structure

Description

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

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

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

See also

IOCTL_DISK_FORMAT_TRACKS_EX

MEDIA_TYPE