网站首页  词典首页

请输入您要查询的函数:

 

术语 commconfigdialog
释义 CommConfigDialog
语法:
C++
BOOL WINAPI CommConfigDialog(
__in LPCTSTR lpszName,
__in HWND hWnd,
__inout LPCOMMCONFIG lpCC
);
CommConfigDialog功能
显示驱动程序提供的配置对话框。
参数
lpszName [in]
在对其中一个对话框,应显示设备名称。例如,通过COM9的COM1端口的串行端口,并通过LPT9 LPT1的并行端口。
hWnd [in]
一个窗口句柄拥有该对话框。此参数可以是任何有效的窗口句柄,或者应该是NULL如果对话框是没有所有者。
的LPCC [ in , out ]
一个 COMMCONFIG结构的指针。这个结构包含呼叫前初始设置对话框,并呼吁改变后的值。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该CommConfigDialog函数需要一个动态链接库(DLL)的通信硬件厂商提供。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesCommConfigDialogW(Unicode)和CommConfigDialogA(ANSI)的
参见
COMMCONFIG
通讯功能
通信资源
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==CommConfigDialog Function
Displays a driver-supplied configuration dialog box.
Syntax
C++
BOOL WINAPI CommConfigDialog(
__in LPCTSTR lpszName,
__in HWND hWnd,
__inout LPCOMMCONFIG lpCC
);
Parameters
lpszName [in]
The name of the device for which a dialog box should be displayed. For example, COM1 through COM9 are serial ports and LPT1 through LPT9 are parallel ports.
hWnd [in]
A handle to the window that owns the dialog box. This parameter can be any valid window handle, or it should be NULL if the dialog box is to have no owner.
lpCC [in, out]
A pointer to a COMMCONFIG structure. This structure contains initial settings for the dialog box before the call, and changed values after the call.
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
The CommConfigDialog function requires a dynamic-link library (DLL) provided by the communications hardware vendor.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesCommConfigDialogW (Unicode) and CommConfigDialogA (ANSI)
See Also
COMMCONFIG
Communications Functions
Communications Resources
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363187(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:24:52