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 |
); |
To continue enumeration, the callback function must return TRUE; to stop enumeration, it must return FALSE.
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.
EnumWindows, EnumDesktopWindows
file: /Techref/os/win/api/win32/func/src/f22_5.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2024/8/17 08:25,
3.21.93.81:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/func/src/f22_5.htm"> EnumWindowsProc</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.