Export (0) Print
Expand All

DISK_CONTROLLER_NUMBER structure

DISK_CONTROLLER_NUMBER is used with IOCTL_DISK_CONTROLLER_NUMBER to retrieve the controller number and disk number of an IDE disk.

Syntax


typedef struct _DISK_CONTROLLER_NUMBER {
  ULONG ControllerNumber;
  ULONG DiskNumber;
} DISK_CONTROLLER_NUMBER, *PDISK_CONTROLLER_NUMBER;

Members

ControllerNumber

Contains the number of the IDE controller for the disk.

DiskNumber

Contains the number of the disk.

Remarks

After DISK_CONTROLLER_NUMBER receives the controller number and the disk number, these values can be used to determine whether the disk is attached to the primary or to the secondary IDE controller.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h, Ntddk.h, or Ntdddisk.h)

See also

IOCTL_DISK_CONTROLLER_NUMBER

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft