typedef struct _HW_DEV_CONFIG {
| ULONG HwType; // TYPE_HARDWARE_ISA, .._ISAPNP, .._PCI
|
| ULONG DmaN; // DMA Channel
|
| ULONG nBars; // Number of ranges
|
| ULONG BarA[6]; // Base Physical Addresses of Ranges
|
| ULONG BarL[6]; // Length of Ranges in Bytes
|
| ULONG BarT[6]; // Type Of Ranges (CmResourceTypePort, CmResourceTypeMemory)
|
| ULONG BarM[6]; // Mapped Ranges (to user space)
| } HW_DEV_CONFIG, * PHW_DEV_CONFIG;
|