VCOMM_PM_API_SetCom


include vcomm.inc

mov     ax, VCOMM_PM_API_SetCom     ;function number
mov     ebx, hPort
les     dx, pDcb                    ;ES:DX -> DCB
call    [_VCOMMCallAddr]            ;protected-mode API address

Sets the state of a communications resource.

hPort

Communications resource handle.

pDcb

Address of a _DCB structure that receives the current communications settings.

See also _DCB, _VCOMM_SetCommState