Jungo WinDriver  
Official Documentation

◆ WD_Transfer

#define WD_Transfer ( h,
pTransfer )    WD_FUNCTION(IOCTL_WD_TRANSFER, h, pTransfer, sizeof(WD_TRANSFER), FALSE)

Executes a single read/write instruction to an I/O port or to a memory address.

Parameters
[in]hHandle to WinDriver's kernel-mode driver as received from WD_Open().
[in,out]pTransferPointer to a transfer information structure
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise
BYTE read_data;
BZERO(Trans);
Trans.cmdTrans = RP_BYTE; /* Read Port BYTE */
Trans.pPort = 0x210;
WD_Transfer(hWD, &Trans);
read_data = Trans.Data.Byte;

Definition at line 1936 of file windrvr.h.