HWSetCommTimeouts

This function sets the communications time-outs in response to a call to the SetCommTimeouts function.

Syntax

BOOL HWSetCommTimeouts( PVOID pContext,
LPCOMMTIMEOUTS lpCommTO );

Parameters

pContext
Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the hardware device.
lpCommTO
Pointer to a CommTimeouts structure.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function supports the implementation of the PDDs of serial port drivers. This function is defined in the header file SerHW.h, and is available in Windows CE version 1.0 and later. Typically, the MDD keeps track of communications time-outs. The PDD usually does not need to act on time-outs.

See Also

HWInit