次の方法で共有


HWXmitComChar (Windows Embedded CE 6.0)

1/6/2010

This function transmits a single character.

Syntax

BOOL HWXmitComChar(
  PVOID pContext,
  UCHAR ComChar 
);

Parameters

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

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The lower layer transmits the character specified by HWXmitComChar as soon as possible, before any buffered data is sent. HWXmitComChar is called by the TransmitComChar function or by the upper layer, usually for XON or XOFF processing. You can call TransmitComChar directly. Implement this function in the serial port driver's model device driver (MDD).

Requirements

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

See Also

Reference

Serial Port Driver PDD Functions
HWInit