EnumerateWindows
Delphi
function EnumerateWindows: Boolean;
C++Builder
bool __fastcall EnumerateWindows();
C#
public bool EnumerateWindows();
VB.NET
Public Function EnumerateWindows() As Boolean
C++/Qt
BOOL EnumerateWindows ();
Retrieves information about all the visible windows: a helper function for the screen recording of a window.
Immediately after EnumerateWindows is invoked, the information about the visible windows is returned by the OnEnumerateWindows event, which occurs for each visible window.
See the Recording a window chapter for more information.