DISK_CONTROLLER_NUMBER structure (ntdddisk.h)
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
Requirement | Value |
---|---|
Header | ntdddisk.h (include Ntdddisk.h, Ntddk.h, Ntdddisk.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for