|
Serial Framework C++ Edition
|
The class provides access to the system COM ports database. More...
#include <wclSerialDevices.h>
Public Member Functions | |
| CwclComDatabase () | |
| Creates a new component. | |
| virtual | ~CwclComDatabase () |
| Frees the component. | |
| int | Close () |
| Closes the COM database. | |
| int | Open () |
| Opens the COM database. | |
| int | ClaimPort (unsigned long &Port) |
| Tries to get the lowest COM port number that is not already in use. | |
| int | EnumUsedPorts (wclComPortNumbers &Ports) |
| Enumerates the used COM ports. | |
| int | ReleasePort (const unsigned long Port) |
| Releases a COM port number in the COM port database. | |
| bool | GetOpened () const |
| Gets the COM ports database status. | |
| __declspec (property(get=GetOpened)) bool Opened | |
| Gets the COM ports database status. | |
The class provides access to the system COM ports database.