网站首页  词典首页

请输入您要查询的函数:

 

术语 clearcommbreak
释义 ClearCommBreak
语法:
C++
BOOL WINAPI ClearCommBreak(
__in HANDLE hFile
);
ClearCommBreak功能
还原为设备指定的通信传输和地方特色的nonbreak状态传输线。
参数
hFile [in]
一个句柄,通信设备。 CreateFile函数返回此句柄。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
阿通信设备放置在休息状态的SetCommBreak或EscapeCommFunction功能。字符传输则暂停休息状态,直到通过调用ClearCommBreak清除。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
ClearCommError
通讯功能
通信资源
CreateFile
EscapeCommFunction
SetCommBreak
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ClearCommBreak Function
Restores character transmission for a specified communications device and places the transmission line in a nonbreak state.
Syntax
C++
BOOL WINAPI ClearCommBreak(
__in HANDLE hFile
);
Parameters
hFile [in]
A handle to the communications device. The CreateFile function returns this handle.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
A communications device is placed in a break state by the SetCommBreak or EscapeCommFunction function. Character transmission is then suspended until the break state is cleared by calling ClearCommBreak.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
ClearCommError
Communications Functions
Communications Resources
CreateFile
EscapeCommFunction
SetCommBreak
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363179(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:22:25