网站首页  词典首页

请输入您要查询的函数:

 

术语 enumpropsex
释义 EnumPropsEx
语法:
int EnumPropsEx( HWND hWnd,
PROPENUMPROCEX lpEnumFunc,
LPARAM lParam
);
EnumPropsEx功能
该EnumPropsEx传递函数枚举他们在一个窗口的属性列表中的所有项,一个接着一个,到指定的回调函数。 EnumPropsEx继续,直到最后一项枚举或回调函数返回FALSE。
参数
hWnd
[in]的窗口句柄其财产的名单一一列举。
lpEnumFunc
[in]指向回调函数。如需有关回调函数的详细信息,请参阅PropEnumProcEx功能。
lparam的
[in]包含应用程序定义要传递给回调函数的数据。
返回值
返回值指定的最后一个值的回调函数返回。这是-1,如果该函数没有找到一个枚举属性。
备注
应用程序可以只删除那些还增加了属性。它必须不删除由其他应用程序或系统本身的属性增加。
在Windows 95/98/Me:EnumPropsExW是支持的Unicode(MSLU)微软层。此外,EnumPropsExA的支持,以提供更一致的行为,在所有Microsoft Windows操作系统。要使用它们,您必须添加一些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
例如
有关示例,请参见清单的指定窗口的窗口属性。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
窗口属性概述,PropEnumProcEx
==英文原文==EnumPropsEx Function
The EnumPropsEx function enumerates all entries in the property list of a window by passing them, one by one, to the specified callback function. EnumPropsEx continues until the last entry is enumerated or the callback function returns FALSE.
Syntax
int EnumPropsEx( HWND hWnd,
PROPENUMPROCEX lpEnumFunc,
LPARAM lParam
);
Parameters
hWnd
[in] Handle to the window whose property list is to be enumerated.
lpEnumFunc
[in] Pointer to the callback function. For more information about the callback function, see the PropEnumProcEx function.
lParam
[in] Contains application-defined data to be passed to the callback function.
Return Value
The return value specifies the last value returned by the callback function. It is -1 if the function did not find a property for enumeration.
Remarks
An application can remove only those properties it has added. It must not remove properties added by other applications or by the system itself.
Windows 95/98/Me: EnumPropsExW is supported by the Microsoft Layer for Unicode (MSLU). Also, EnumPropsExA is supported to provide more consistent behavior across all Microsoft Windows operating systems. To use them, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Example
For an example, see Listing Window Properties for a Given Window .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Window Properties Overview , PropEnumProcEx
==原始网址==http://msdn.microsoft.com/en-us/library/ms633563(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:17:45