EnumThreadWndProc

  BOOL CALLBACK EnumThreadWndProc(hwnd, lParam)    
  HWND hwnd; /* handle of a window */
  LPARAM lParam; /* application-defined value */

The EnumThreadWndProc function is an application-defined callback function that receives the window handles associated with a thread as a result of a call to the EnumThreadWindows function.

Parameters

hwnd

Identifies a window associated with the thread specified in the EnumThreadWindows function.

lParam

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

Return Value

The callback function should return TRUE to continue enumeration or FALSE to stop enumeration.

Comments

The callback function can carry out any desired task.

EnumThreadWndProc is a placeholder for the application-supplied function name. The actual name must be exported by including it in an EXPORTS statement in the application's module-definition file.

See Also

EnumThreadWindows