网站首页  词典首页

请输入您要查询的函数:

 

术语 getwindowinfo
释义 GetWindowInfo
语法:
BOOL GetWindowInfo( HWND hwnd,
PWINDOWINFO pwi
);
GetWindowInfo功能
该GetWindowInfo函数检索有关指定的窗口。
参数
hwnd
[in]句柄窗口的信息是要检索。
灌注成像
[out]指向1 WINDOWINFO结构,收到信息。请注意,您必须设置为sizeof WINDOWINFO.cbSize在调用这个函数(WINDOWINFO)。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
Windows NT/2000/XP的:要获得更多错误信息,调用GetLastError。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低经营systemsWindows 98时,Windows NT 4.0 SP6的
参见
视窗概述,WINDOWINFO
==英文原文==GetWindowInfo Function
The GetWindowInfo function retrieves information about the specified window.
Syntax
BOOL GetWindowInfo( HWND hwnd,
PWINDOWINFO pwi
);
Parameters
hwnd
[in] Handle to the window whose information is to be retrieved.
pwi
[out] Pointer to a WINDOWINFO structure to receive the information. Note that you must set WINDOWINFO.cbSize to sizeof(WINDOWINFO) before calling this function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Windows NT/2000/XP: To get extended error information, call GetLastError .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 98, Windows NT 4.0 SP6
See Also
Windows Overview , WINDOWINFO
==原始网址==http://msdn.microsoft.com/en-us/library/ms633516(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 13:22:34