ReactOS 0.4.15-dev-7674-gc0b4db1
rs232.c File Reference
#include <freeldr.h>
#include <cportlib/cportlib.h>
Include dependency graph for rs232.c:

Go to the source code of this file.

Functions

BOOLEAN Rs232PortInUse (PUCHAR Base)
 

Function Documentation

◆ Rs232PortInUse()

BOOLEAN Rs232PortInUse ( PUCHAR  Base)

Definition at line 140 of file rs232.c.

141{
142#if DBG
143 return ( ((Rs232ComPort != 0) && (Rs232ComPortInfo.Address == Base)) ? TRUE : FALSE );
144#else
145 return FALSE;
146#endif
147}
static struct @4300 Rs232ComPort[]
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2439

Referenced by DetectSerialPorts().