EnumWindowsProc

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

The EnumWindowsProc function is an application-defined callback function that receives parent window handles as a result of a call to the EnumWindows function.

Parameters

hwnd

Identifies a parent window currently.

lParam

Specifies the application-defined value specified in the EnumWindows 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.

EnumWindowsProc 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

EnumWindows