// 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 referenceNo 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.
MediaTypeIndicates 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.
StartCylinderNumberIndicates the number of the cylinder where the formatting should begin.
EndCylinderNumberIndicates the number of the cylinder where the formatting should end.
StartHeadNumberIndicates the number of the head where the formatting should begin.
EndHeadNumberIndicates the number of the head where the formatting should end.
FormatGapLengthIndicates the length in bytes of a format gap.
SectorsPerTrackIndicates the number of sectors per track.
SectorNumberContains 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.
MediaTypeThe media type. For a list of values, see MEDIA_TYPE.
StartCylinderNumberThe cylinder number at which to begin the format.
EndCylinderNumberThe cylinder number at which to end the format.
StartHeadNumberThe beginning head location.
EndHeadNumberThe ending head location.
FormatGapLengthThe length of the gap between two successive sectors on a track.
SectorsPerTrackThe number of sectors in each track.
SectorNumberAn array of values specifying the sector numbers of the sectors to be included in the track to be formatted.