ReactOS  0.4.15-dev-1070-ge1a01de
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 }
#define TRUE
Definition: types.h:120
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2373
#define FALSE
Definition: types.h:117
static struct @4023 Rs232ComPort[]

Referenced by DetectSerialPorts().