hwnd (HWND) - input

      Handle of the window whose child windows are to be enumerated.

      HWND_DESKTOP

        Enumerate all main windows
      HWND_OBJECT
        Enumerate all object windows
      Other
        Enumerate all immediate children of the specified window.

      henumHenum (HENUM) - returns

        Enumeration handle.

        This is used in subsequent calls to the WinGetNextWindow function to return the immediate child-window handles in succession.

        When the application has finished the enumeration, the enumeration handle must be destroyed with the WinEndEnumWindows call.


      [Back] [Next]