EnumWindowsProc

2.x

  BOOL CALLBACK EnumWindowsProc(hwnd, lParam)    
  HWND hwnd; /* handle of 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.

lParam

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

Return Value

The callback function must return nonzero to continue enumeration; to stop enumeration, it must return zero.

Comments

The callback function can carry out any desired task.

The EnumWindowsProc 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

EnumWindows