_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.
- Returns TRUE if successful, FALSE otherwise.
- 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