Compartir a través de


HWEnableIR (Windows CE 5.0)

Send Feedback

This function enables the infrared (IR) serial interface.

BOOL HWEnableIR(PVOIDpContext,ULONGBaudRate);

Parameters

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

Return Values

TRUE indicates success. FALSE indicates failure. If an error occurs, the caller can return the error using GetLastError.

Remarks

This function sets the device to IR mode. It returns NULL if the device does not support IR mode.

This function supports the implementation of the lower layers of serial port drivers.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Serhw.h.

See Also

HWDisableIR | HWInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.