Searched refs:persist_file (Results 1 – 6 of 6) sorted by relevance
417 base::win::ScopedComPtr<IPersistFile> persist_file; in MigrateShortcutsInPathInternal() local420 FAILED(persist_file.QueryFrom(shell_link)) || in MigrateShortcutsInPathInternal()421 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { in MigrateShortcutsInPathInternal()485 persist_file.Release(); in MigrateShortcutsInPathInternal()
165 base::win::ScopedComPtr<IPersistFile> persist_file; in MigrateWin7ShortcutsInPath() local166 if (FAILED(persist_file.QueryFrom(shell_link)) || in MigrateWin7ShortcutsInPath()167 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { in MigrateWin7ShortcutsInPath()
476 base::win::ScopedComPtr<IPersistFile> persist_file; in ResolveInternetShortcut() local477 result = persist_file.QueryFrom(url_locator); in ResolveInternetShortcut()482 result = persist_file->Load(file.c_str(), STGM_READ); in ResolveInternetShortcut()
274 base::win::ScopedComPtr<IPersistFile> persist_file; in CreateUrlFile() local275 result = persist_file.QueryFrom(locator); in CreateUrlFile()281 result = persist_file->Save(file.c_str(), TRUE); in CreateUrlFile()
170 base::win::ScopedComPtr<IPersistFile> persist_file; in CreateUrlFileWithFavicon() local171 result = persist_file.QueryFrom(locator); in CreateUrlFileWithFavicon()201 result = persist_file->Save(file.value().c_str(), TRUE); in CreateUrlFileWithFavicon()
276 base::win::ScopedComPtr<IPersistFile> persist_file; in LoadInternetShortcut() local277 if (FAILED(persist_file.QueryFrom(url_locator))) in LoadInternetShortcut()281 if (FAILED(persist_file->Load(file.c_str(), STGM_READ))) in LoadInternetShortcut()