次の方法で共有


HWSetCommTimeouts (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL HWSetCommTimeouts(
  PVOID pContext,
  LPCOMMTIMEOUTS lpCommTO 
);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function supports the implementation of the lower layers of serial port drivers. Typically, the upper layer keeps track of communications time-out events. The lower layer usually does not need to act on time-out events.

Requirements

Header serhw.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Serial Port Driver PDD Functions
HWInit

Other Resources

COMMTIMEOUTS
SetCommTimeouts