Jungo WinDriver  
Official Documentation

◆ WDC_WriteAddrBlock()

DWORD DLLCALLCONV WDC_WriteAddrBlock ( _In_ WDC_DEVICE_HANDLE  hDev,
_In_ DWORD  dwAddrSpace,
_In_ KPTR  dwOffset,
_In_ DWORD  dwBytes,
_In_ PVOID  pData,
_In_ WDC_ADDR_MODE  mode,
_In_ WDC_ADDR_RW_OPTIONS  options 
)

Writes a block of data to the device.

Parameters
[in]hDevHandle to a WDC device, returned by WDC_xxxDeviceOpen()
[in]dwAddrSpaceThe memory or I/O address space to write to
[in]dwOffsetThe offset from the beginning of the specified address space (dwAddrSpace) to write to
[in]dwBytesThe number of bytes to write
[in]pDataPointer to a buffer that holds the data to write to the device
[in]modeThe write access mode -see WDC_ADDR_MODE
[in]optionsA bit mask that determines how the data will be written 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