EnumTaskWndProc

2.x

  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.

Parameters

hwnd

Identifies a window associated with the task specified in the EnumTaskWindows function.

lParam

Specifies the application-defined value specified in the EnumTaskWindows function.

Return Value

The callback function must return TRUE to continue enumeration; to stop enumeration, it must return FALSE.

Comments

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.

See Also

EnumTaskWindows