网站首页  词典首页

请输入您要查询的函数:

 

术语 getopenclipboardwindow
释义 GetOpenClipboardWindow
语法:
HWND GetOpenClipboardWindow( VOID
);
GetOpenClipboardWindow功能
该GetOpenClipboardWindow函数检索窗口句柄目前有打开的剪贴板。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是窗口句柄具有打开的剪贴板。如果没有窗口具有剪贴板打开,则返回值为NULL。为了获得更多错误信息,调用GetLastError。
备注
如果一个应用程序或DLL指定一个空窗口句柄时调用OpenClipboard函数打开剪贴板,但不与一个窗口关联。在这种情况下,GetOpenClipboardWindow返回NULL。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
剪贴板,GetClipboardOwner,GetClipboardViewer,OpenClipboard
==英文原文==GetOpenClipboardWindow Function
The GetOpenClipboardWindow function retrieves the handle to the window that currently has the clipboard open.
Syntax
HWND GetOpenClipboardWindow( VOID
);
Parameters
This function has no parameters.
Return Value
If the function succeeds, the return value is the handle to the window that has the clipboard open. If no window has the clipboard open, the return value is NULL. To get extended error information, call GetLastError .
Remarks
If an application or DLL specifies a NULL window handle when calling the OpenClipboard function, the clipboard is opened but is not associated with a window. In such a case, GetOpenClipboardWindow returns NULL.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Clipboard , GetClipboardOwner , GetClipboardViewer , OpenClipboard
==原始网址==http://msdn.microsoft.com/en-us/library/ms649044(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:26:46