FORMAT_PARAMETERS structure (winioctl.h)

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

Syntax

typedef struct _FORMAT_PARAMETERS {
  MEDIA_TYPE MediaType;
  DWORD      StartCylinderNumber;
  DWORD      EndCylinderNumber;
  DWORD      StartHeadNumber;
  DWORD      EndHeadNumber;
} FORMAT_PARAMETERS, *PFORMAT_PARAMETERS;

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.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

IOCTL_DISK_FORMAT_TRACKS

MEDIA_TYPE