Jungo WinDriver
Official Documentation
|
DWORD DLLCALLCONV WDC_ReadAddrBlock | ( | _In_ WDC_DEVICE_HANDLE | hDev, |
_In_ DWORD | dwAddrSpace, | ||
_In_ KPTR | dwOffset, | ||
_In_ DWORD | dwBytes, | ||
_Outptr_ PVOID | pData, | ||
_In_ WDC_ADDR_MODE | mode, | ||
_In_ WDC_ADDR_RW_OPTIONS | options | ||
) |
Reads a block of data from the device.
[in] | hDev | Handle to a WDC device, returned by WDC_xxxDeviceOpen() |
[in] | dwAddrSpace | The memory or I/O address space to read from |
[in] | dwOffset | The offset from the beginning of the specified address space (dwAddrSpace) to read from |
[in] | dwBytes | The number of bytes to read |
[out] | pData | Pointer to a buffer to be filled with the data that is read from the device |
[in] | mode | The read access mode -see WDC_ADDR_MODE |
[in] | options | A bit mask that determines how the data will be read see WDC_ADDR_RW_OPTIONS. The function automatically sets the WDC_RW_BLOCK flag. |