|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user-defined
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| PROPENUMPROCEX
|
|
|
PropEnumProcEx
A PropEnumProcEx function is an application-defined callback function that receives property
entries from a window's property list. A PropEnumProcEx function is called as a result of a call to the EnumPropsEx function. A value of type PROPENUMPROCEX is a pointer to a PropEnumProcEx function.
BOOL CALLBACK PropEnumProcEx(
HWND hwnd,
| // handle of window with property
| LPTSTR lpszString,
| // string component of property
| HANDLE hData,
| // data handle component of property
| DWORD dwData
| // application-defined data
| );
|
|
Parameters
hwnd
Handle to the window whose property list is being enumerated.
lpszString
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
Handle to data. This handle is the data component of a property list entry.
dwData
Application-defined data. This is the value that was specified as the lParam parameter of the call to EnumPropsEx that initiated the enumeration.
Return Values
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.
PropEnumProcEx is a placeholder for the application-defined function name.
See Also
EnumProps, EnumPropsEx, PropEnumProc, RemoveProp, SetProp
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|