This function disables the infrared (IR) serial interface, returning the port to standard RS-232 serial if it supports both modes.
BOOL HWDisableIR( PVOID pContext );
TRUE indicates success. FALSE indicates failure. If an error occurs, the caller can return the error using GetLastError.
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.