mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
EnumChildWindows:
- if hWndParent == NULL: call EnumWindows - else use bChildren = TRUE svn path=/trunk/; revision=25921
This commit is contained in:
@@ -551,8 +551,10 @@ EnumChildWindows(
|
||||
LPARAM lParam)
|
||||
{
|
||||
if ( !hWndParent )
|
||||
hWndParent = GetDesktopWindow();
|
||||
return User32EnumWindows ( NULL, hWndParent, lpEnumFunc, lParam, 0, FALSE );
|
||||
{
|
||||
return EnumWindows(lpEnumFunc, lParam);
|
||||
}
|
||||
return User32EnumWindows ( NULL, hWndParent, lpEnumFunc, lParam, 0, TRUE );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user