mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:05:43 +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
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue