|
发表于 2022-2-13 15:07:35
|
显示全部楼层
介绍个思路吧(来自于vsXXXX help library):
The EnumWindows function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the callback function returns FALSE.
WNDENUMPROC lpEnumFunc;//Pointer to an application-defined callback function. For more information, see EnumWindowsProc.
LPARAM lParam;//Specifies an application-defined value to be passed to the callback function. |
|