mirror of
https://github.com/reactos/reactos.git
synced 2024-07-09 06:05:11 +00:00
EnumChildWindows:
- if hWndParent == NULL: call EnumWindows - else use bChildren = TRUE svn path=/trunk/; revision=25921
This commit is contained in:
parent
9cb8365d3f
commit
4481a26504
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue