VCOMM_PM_API_ReadString


include vcomm.inc

mov     ax, VCOMM_PM_API_ReadString  ;function number
mov     ebx, hPort
les     dx, buf
mov     cx, cnt
mov     si, es            ;address of buffer in si:dx
les     di, res           ;address to receive count in es:di
call    [_VCOMMCallAddr]

Calls the _VCOMM_ReadComm service.

hPort

Communications resource handle.

buf

Address of buffer that receives the data.

cnt

Number of characters to read.

res

Address of a 32-bit variable that receives the number of characters read.

See also _VCOMM_ReadComm