DISK_DETECTION_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntdddisk.h

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

View the official Windows Driver Kit DDI reference
// winioctl.h

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;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdddisk-_disk_detection_info)

DISK_DETECTION_INFO structure

Description

The DISK_DETECTION_INFO structure contains the detected drive parameters that are supplied by an x86 PC BIOS on boot.

Members

SizeOfDetectInfo

Contains the quantity, in bytes, of retrieved detect information.

DetectionType

A DETECTION_TYPE value that determines the type of formatting used by the BIOS to record the disk geometry.

DUMMYUNIONNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Int13

A DISK_INT13_INFO structure when DetectionType is DetectInt13.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.ExInt13

A DISK_EX_INT13_INFO structure when DetectionType is DetectExInt13.

See also

DISK_EX_INT13_INFO

DISK_GEOMETRY_EX

DISK_INT13_INFO


Win32 API reference (ns-winioctl-disk_detection_info)

DISK_DETECTION_INFO structure

Description

Contains detected drive parameters.

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.

See also

DISK_EX_INT13_INFO, DISK_INT13_INFO, DISK_GEOMETRY_EX