网站首页  词典首页

请输入您要查询的函数:

 

术语 propenumprocex
释义 PropEnumProcEx
语法:
BOOL CALLBACK PropEnumProcEx( HWND hwnd,
LPTSTR lpszString,
HANDLE hData,
ULONG_PTR dwData
);
PropEnumProcEx功能
该PropEnumProcEx函数是一个应用程序定义的回调函数与EnumPropsEx功能使用。函数收到一个窗口的属性列表属性项。在PROPENUMPROCEX类型定义一个指向这个回调函数。 PropEnumProcEx是一个应用程序的占位符定义函数的名称。
参数
hwnd
[in]的窗口句柄其财产清单被列举。
lpszString
[in]指向一个空结束的字符串。此字符串是一个属性列表项的字符串组成部分。这是所指定的字符串,与数据处理,通过对SetProp函数调用时的财产被添加到窗口的属性列表一起。
hData
[in]处理数据。这处理的是一个属性列表项数据组件。
dwData
[in]应用程序定义的数据。这是已作为lParam参数来调用该EnumPropsEx发起枚举指定的值。
返回值
返回TRUE继续枚举的财产清单。
返回FALSE停止枚举的财产清单。
备注
以下限制适用于这个回调函数:
回调函数不能产生控制或做任何可能产生控制的其他任务。
回调函数可以调用RemoveProp功能。然而,RemoveProp可以删除只通过回调函数的参数给回调函数的性质。
回调函数不应该试图添加属性。
功能信息
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryNone
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
窗口属性概述,EnumPropsEx,RemoveProp,SetProp
==英文原文==PropEnumProcEx Function
The PropEnumProcEx function is an application-defined callback function used with the EnumPropsEx function. The function receives property entries from a window's property list. The PROPENUMPROCEX type defines a pointer to this callback function. PropEnumProcEx is a placeholder for the application-defined function name.
Syntax
BOOL CALLBACK PropEnumProcEx( HWND hwnd,
LPTSTR lpszString,
HANDLE hData,
ULONG_PTR dwData
);
Parameters
hwnd
[in] Handle to the window whose property list is being enumerated.
lpszString
[in] Pointer to a null-terminated string. This string is the string component of a property list entry. This is the string that was specified, along with a data handle, when the property was added to the window's property list via a call to the SetProp function.
hData
[in] Handle to data. This handle is the data component of a property list entry.
dwData
[in] Application-defined data. This is the value that was specified as the lParam parameter of the call to EnumPropsEx that initiated the enumeration.
Return Value
Return TRUE to continue the property list enumeration.
Return FALSE to stop the property list enumeration.
Remarks
The following restrictions apply to this callback function:
The callback function must not yield control or do anything that might yield control to other tasks.
The callback function can call the RemoveProp function. However, RemoveProp can remove only the property passed to the callback function through the callback function's parameters.
The callback function should not attempt to add properties.
Function Information
HeaderDeclared in Winuser.h, include Windows.h
Import libraryNone
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Window Properties Overview , EnumPropsEx , RemoveProp , SetProp
==原始网址==http://msdn.microsoft.com/en-us/library/ms633566(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:16:10