|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user-defined
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| WNDENUMPROC
|
|
|
EnumWindowsProc
The EnumWindowsProc function is an application-defined callback function that receives top-level
window handles as a result of a call to the EnumWindows or EnumDesktopWindows function.
BOOL CALLBACK EnumWindowsProc(
HWND hwnd,
| // handle to parent window
| LPARAM lParam
| // application-defined value
| );
|
|
Parameters
hwnd
Identifies a top-level window.
lParam
Specifies the application-defined value given in EnumWindows or EnumDesktopWindows.
Return Values
To continue enumeration, the callback function must return TRUE; to stop
enumeration, it must return FALSE.
Remarks
The callback function can perform any desired task.
An application must register this callback function by passing its address to EnumWindows or EnumDesktopWindows. EnumWindowsProc is a placeholder for the application-defined function name. The WNDENUMPROC type is a pointer to an EnumWindowsProc function.
See Also
EnumWindows, EnumDesktopWindows
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
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
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
|