DOC: Structure Definitions for CONFIGMG_Get_Bus_InfoID: Q169589
|
In order to use the CONFIGMG_Get_Bus_Info service, you need certain
structure definitions that were not included in the Windows 95 DDK. Below
is a list of access structures for ISAPnP, PCI, EISA, PCMCIA, and BIOS
devices:
struct PnPAccess_s {
BYTE bCSN; // card slot number
BYTE bLogicalDevNumber; // Logical Device #
WORD wReadDataPort; // Read data port
} sPnPAccess;
struct PCIAccess_s {
BYTE bBusNumber; // Bus no 0-255
BYTE bDevFuncNumber; // Device # in bits 7:3 and
// Function # in bits 2:0
WORD wPCIReserved; //
} sPCIAccess;
struct EISAAccess_s {
BYTE bSlotNumber; // EISA board slot number
BYTE bFunctionNumber;
WORD wEisaReserved;
} sEISAAccess;
struct PCMCIAAccess_s {
WORD wLogicalSocket; // Card socket #
WORD wPCMCIAReserved; // Reserved
} sPCMCIAAccess;
struct BIOSAccess_s {
BYTE bBIOSNode; // Node number
} sBIOSAccess;
See the Windows 95 DDK for more information on Configuration Manager services and PnP.
Keywords :
Version : 4.0
Platform : WINDOWS
Issue type :
Last Reviewed: March 3, 1999