Bewerken

Delen via


FORMAT_PARAMETERS structure (ntdddisk.h)

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.

Syntax

typedef struct _FORMAT_PARAMETERS {
  MEDIA_TYPE MediaType;
  ULONG      StartCylinderNumber;
  ULONG      EndCylinderNumber;
  ULONG      StartHeadNumber;
  ULONG      EndHeadNumber;
} FORMAT_PARAMETERS, *PFORMAT_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.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)

See also

IOCTL_DISK_FORMAT_TRACKS

MEDIA_TYPE