Added implementation of GetWindowInfo.