Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 C++ MFC 智能设备应用程序中关闭特定的串口?
如何检查端口是否打开?
以及如何关闭它?
我正在使用这个“例如:http: //msdn.microsoft.com/en-us/library/ms881795.aspx
要关闭你从你那里得到的句柄,CreateFile你应该使用CloseHandle函数。
CreateFile
CloseHandle