Jungo WinDriver  
Official Documentation

◆ WDC_ReadAddrBlock()

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.

Parameters
[in]hDevHandle to a WDC device, returned by WDC_xxxDeviceOpen()
[in]dwAddrSpaceThe memory or I/O address space to read from
[in]dwOffsetThe offset from the beginning of the specified address space (dwAddrSpace) to read from
[in]dwBytesThe number of bytes to read
[out]pDataPointer to a buffer to be filled with the data that is read from the device
[in]modeThe read access mode -see WDC_ADDR_MODE
[in]optionsA bit mask that determines how the data will be read see WDC_ADDR_RW_OPTIONS. The function automatically sets the WDC_RW_BLOCK flag.
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise