DISK_DETECTION_INFO structure (winioctl.h)

Contains detected drive parameters.

Syntax

typedef struct _DISK_DETECTION_INFO {
  DWORD          SizeOfDetectInfo;
  DETECTION_TYPE DetectionType;
  union {
    struct {
      DISK_INT13_INFO    Int13;
      DISK_EX_INT13_INFO ExInt13;
    } DUMMYSTRUCTNAME;
  } DUMMYUNIONNAME;
} DISK_DETECTION_INFO, *PDISK_DETECTION_INFO;

Members

SizeOfDetectInfo

The size of the structure, in bytes.

DetectionType

The detected partition type.

This member can be one of the following values from the DETECTION_TYPE enumeration.

Value Enumeration Meaning
DetectExInt13 2 The disk has an extended Int13 partition.
DetectInt13 1 The disk has a standard Int13 partition.
DetectNone 0 The disk does not have an Int13 or an extended Int13 partition.

DUMMYUNIONNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Int13

If DetectionType is DetectInt13, the union is a DISK_INT13_INFO structure.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.ExInt13

If DetectionType is DetectExInt13, the union is a DISK_EX_INT13_INFO structure.

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

DISK_EX_INT13_INFO, DISK_INT13_INFO, DISK_GEOMETRY_EX