get_communications_timeouts


bool get_communications_timeouts(handle file,
                                 communications_timeouts* timeouts)

This function obtains the timeout parameters for read and write operations to a communications device.

Parameters

handle file

The handle of the communications device. This handle is returned by the function create_file.

communications_timeouts* timeouts

A pointer to a buffer to hold the communications timeout information.

Return

bool

true The function succeeded.
false The call failed.

Notes

See also set_communications_timeouts.