Lines Matching defs:i_persist_file
22 // Initializes |i_shell_link| and |i_persist_file| (releasing them first if they
24 // If |shortcut| is not NULL, loads |shortcut| into |i_persist_file|.
25 // If any of the above steps fail, both |i_shell_link| and |i_persist_file| will
30 ScopedComPtr<IPersistFile>* i_persist_file) {
32 i_persist_file->Release();
35 FAILED(i_persist_file->QueryFrom(*i_shell_link)) ||
36 (shortcut && FAILED((*i_persist_file)->Load(shortcut, STGM_READWRITE)))) {
38 i_persist_file->Release();
64 ScopedComPtr<IPersistFile> i_persist_file;
67 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file);
71 &i_persist_file);
81 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file);
88 if (!i_persist_file.get())
151 HRESULT result = i_persist_file->Save(shortcut_path.value().c_str(), TRUE);
155 i_persist_file.Release();