BYTE regAddress // Configuration Address 0-255
);
-//-----------------------------------------------------------------------------
-// ReadPciConfigPByte
-//-----------------------------------------------------------------------------
-BOOL // Read Value
-WINAPI ReadPciConfigPByte(
- DWORD pciAddress, // PCI Device Address
- DWORD regAddress, // Configuration Address 0-whatever
- PBYTE value, // Read Value
- DWORD size
-);
-
//-----------------------------------------------------------------------------
// ReadPciConfigByteEx
//-----------------------------------------------------------------------------
PDWORD value // Read Value
);
-//-----------------------------------------------------------------------------
-// ReadPciConfigPByteEx
-//-----------------------------------------------------------------------------
-BOOL // TRUE: success, FALSE: failure
-WINAPI ReadPciConfigPByteEx(
- DWORD pciAddress, // PCI Device Address
- DWORD regAddress, // Configuration Address 0-whatever
- PBYTE value, // Read Value
- DWORD size
-);
-
//-----------------------------------------------------------------------------
// WritePciConfigByte
//-----------------------------------------------------------------------------
DWORD value // Write Value
);
-//-----------------------------------------------------------------------------
-// WritePciConfigPByte
-//-----------------------------------------------------------------------------
-VOID
-WINAPI WritePciConfigPByte(
- DWORD pciAddress, // PCI Device Address
- BYTE regAddress, // Configuration Address 0-255
- PBYTE value, // Write Value
- DWORD size
-);
-
//-----------------------------------------------------------------------------
// WritePciConfigByteEx
//-----------------------------------------------------------------------------
DWORD value // Write Value
);
-//-----------------------------------------------------------------------------
-// WritePciConfigPByte
-//-----------------------------------------------------------------------------
-BOOL // TRUE: success, FALSE: failure
-WINAPI WritePciConfigPByteEx(
- DWORD pciAddress, // PCI Device Address
- BYTE regAddress, // Configuration Address 0-255
- PBYTE value, // Write Value
- DWORD size
-);
-
//-----------------------------------------------------------------------------
// FindPciDeviceById
//-----------------------------------------------------------------------------