EnumChildProc callback function
An application-defined callback function used with the EnumChildWindows function. It receives the child window handles. The WNDENUMPROC type defines a pointer to this callback function. EnumChildProc is a placeholder for the application-defined function name.
Syntax
C++
BOOL CALLBACK EnumChildProc( _In_ HWND hwnd, _In_ LPARAM lParam );
Parameters
hwnd [in]
A handle to a child window of the parent window specified in EnumChildWindows.
lParam [in]
The application-defined value given in EnumChildWindows.
Return value
To continue enumeration, the callback function must return TRUE; to stop enumeration, it must return FALSE.