I should change it to WUINFO_IncludeResultsViewNames|WUINFO_IncludeResourceURLs. The flags|WUINFO_IncludeResourceURLs is not needed because winfo.getResourceInfo() does not check other flags.