// ntdddisk.h
typedef struct _FORMAT_PARAMETERS {
MEDIA_TYPE MediaType;
ULONG StartCylinderNumber;
ULONG EndCylinderNumber;
ULONG StartHeadNumber;
ULONG EndHeadNumber;
} FORMAT_PARAMETERS, *PFORMAT_PARAMETERS;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _FORMAT_PARAMETERS {
MEDIA_TYPE MediaType;
DWORD StartCylinderNumber;
DWORD EndCylinderNumber;
DWORD StartHeadNumber;
DWORD EndHeadNumber;
} FORMAT_PARAMETERS, *PFORMAT_PARAMETERS;
View the official Win32 API referenceNo description available.
The FORMAT_PARAMETERS structure is used in conjunction with the IOCTL_DISK_FORMAT_TRACKS 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.
Contains information used in formatting a contiguous set of disk tracks. It is used by the IOCTL_DISK_FORMAT_TRACKS 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.