BOOL CALLBACK EnumTaskWndProc(hwnd, lParam) | |||||
HWND hwnd; | /* handle of a window, */ | ||||
LPARAM lParam; | /* application-defined value | */ |
The EnumTaskWndProc function is an application-defined callback function that receives the window handles associated with a task as a result of a call to the EnumTaskWindows function.
hwnd
Identifies a window associated with the task specified in the EnumTaskWindows function.
lParam
Specifies the application-defined value specified in the EnumTaskWindows function.
The callback function must return TRUE to continue enumeration; to stop enumeration, it must return FALSE.
The callback function can carry out any desired task.
The EnumTaskWndProc function is a placeholder for the application-defined function name. The actual name must be exported by including it in an EXPORTS statement in the application's module-definition (.DEF) file.