![]() |
Jungo WinDriver
Official Documentation
|
| DWORD DLLCALLCONV WDC_PciReadCfgBySlot8 | ( | _In_ WD_PCI_SLOT * | pPciSlot, |
| _In_ DWORD | dwOffset, | ||
| _Outptr_ BYTE * | pbVal | ||
| ) |
Read/write 8/16/32/64 bits from the PCI configuration space.
Identify device by its location. Reads 1 byte (8 bits) from a specified offset in a PCI device's configuration space or a PCI Express device's extended configuration space. The device is identified by its location on the PCI bus.
| [in] | pPciSlot | Pointer to a PCI device location information structure, which can be acquired by calling WDC_PciScanDevices() |
| [in] | dwOffset | The offset from the beginning of the PCI configuration space to read from. |
| [out] | pbVal | Pointer to a buffer to be filled with the data that is read from the PCI configuration space |