Jungo WinDriver
Official Documentation
|
DWORD DLLCALLCONV WDC_PciReadCfg | ( | _In_ WDC_DEVICE_HANDLE | hDev, |
_In_ DWORD | dwOffset, | ||
_Outptr_ PVOID | pData, | ||
_In_ DWORD | dwBytes | ||
) |
Identify device by handle.
Reads data from a specified offset in a PCI device's configuration space or a PCI Express device's extended configuration space.
[in] | hDev | Handle to a WDC PCI device structure, returned by WDC_PciDeviceOpen() |
[in] | dwOffset | The offset from the beginning of the PCI configuration space to read from. |
[out] | pData | Pointer to a buffer to be filled with the data that is read from the PCI configuration space |
[in] | dwBytes | The number of bytes to read |