object = accWindow(wndID);
Will search for a child accessible object having the ROLE_SYSTEM_WINDOW role.
Window objects are created by MS Accessibility as generic containers for other objects. The accName property of a window is the same as its child object.
wnd Overview | MS Accessibility