// ntddk.h
typedef struct _CONFIGURATION_INFORMATION {
ULONG DiskCount;
ULONG FloppyCount;
ULONG CdRomCount;
ULONG TapeCount;
ULONG ScsiPortCount;
ULONG SerialCount;
ULONG ParallelCount;
BOOLEAN AtDiskPrimaryAddressClaimed;
BOOLEAN AtDiskSecondaryAddressClaimed;
ULONG Version;
ULONG MediumChangerCount;
} CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The CONFIGURATION_INFORMATION structure contains the overall system device configuration record.
DiskCountNumber of hard disks in the system thus far. A driver can use this number to determine the names of new disks. The driver should update this value as it finds new disks.
FloppyCountNumber of floppy disks in the system thus far. A driver can use this number to determine the names of new disks. The driver should update this value as it finds new disks.
CdRomCountNumber of CD-ROM drives in the system thus far. A driver can use this number to determine the names of new drives. The driver should update this value as it finds new drives.
TapeCountNumber of tape drives in the system thus far. A driver can use this number to determine the names of new drives. The driver should update this value as it finds new drives.
ScsiPortCountNumber of SCSI port adapters in the system thus far. A driver can use this number to determine the names of new SCSI port adapters. The driver should update this value as it finds new adapters.
SerialCountNumber of serial devices in the system thus far. A driver can use this number to determine the names of new serial devices. The driver should update this value as it finds new devices.
ParallelCountNumber of parallel devices in the system thus far. A driver can use this number to determine the names of new parallel devices. The driver should update this value as it finds new devices.
AtDiskPrimaryAddressClaimedBoolean that indicates ownership of the 0x1F0-0x1FF space of the two I/O address spaces used by WD1003-compatible disk controllers.
AtDiskSecondaryAddressClaimedBoolean that indicates ownership of the 0x170-0x17F space of the two I/O address spaces used by WD1003-compatible disk controllers.
VersionThe version of this structure. Set to sizeof(CONFIGURATION_INFORMATION).
MediumChangerCountNumber of medium changer devices in the system. A driver can use this number to determine the names of new medium changer devices. The driver should update this value as it finds new devices.
CONFIGURATION_INFORMATION can be used as follows:
IoGetConfigurationInformation (ntddk.h)
IoGetConfigurationInformation (ntifs.h)