// 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
No description available.
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.
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.
Contains information used in formatting a contiguous set of disk tracks. It is used by the IOCTL_DISK_FORMAT_TRACKS_EX control code.
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.