_VCOMM_GetSetCommTimeouts


VxDcall _VCOMM_GetSetCommTimeouts, <hPort, <OFFSET32 cmto>, \
        dwAction>
or      eax, eax
jz      error_handler

Gets or sets the read and write time-outs for a communications resource.

hPort

Handle of a communications resource.

cmto

Address of a COMMTIMEOUTS structure that receives the read and write time-outs for the port, or specifies new time-outs.

dwAction

Value specifying whether to get or set the time-outs: 0 to get and 1 to set.

See also COMMTIMEOUTS