mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 01:44:21 +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)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
if ( !hWndParent )
|
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