enumser.cpp
来自「enumser是扫描电脑端口的一个好工具」· C++ 代码 · 共 11 行
CPP
11 行
/*
Module : EnumSer.CPP
Purpose: Implementation for a class to enumerate the serial ports installed on a PC using a number
of different approaches.
Created: PJN / 03-10-1998
History: PJN / 23-02-1999 Code now uses QueryDosDevice if running on NT to determine
which serial ports are available. This avoids having to open
the ports at all. It should operate a lot faster in addition.
PJN / 12-12-1999 Fixed a problem in the Win9x code path when trying to detect
deactivated IRDA-ports. When trying to open those, you will
get the error-code ERROR_GEN_FAILURE.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?