FORMAT_EX_PARAMETERS structure (ntdddisk.h)
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.
Syntax
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;
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[1]
Contains an array whose first element indicates the number of the sector where the formatting should begin.
Requirements
Requirement | Value |
---|---|
Header | ntdddisk.h (include Ntdddisk.h) |