Home | History | Annotate | Download | only in win

Lines Matching refs:i_persist_file

23 // Initializes |i_shell_link| and |i_persist_file| (releasing them first if they
25 // If |shortcut| is not NULL, loads |shortcut| into |i_persist_file|.
26 // If any of the above steps fail, both |i_shell_link| and |i_persist_file| will
31 ScopedComPtr<IPersistFile>* i_persist_file) {
33 i_persist_file->Release();
36 FAILED(i_persist_file->QueryFrom(*i_shell_link)) ||
37 (shortcut && FAILED((*i_persist_file)->Load(shortcut, STGM_READWRITE)))) {
39 i_persist_file->Release();
65 ScopedComPtr<IPersistFile> i_persist_file;
68 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file);
72 &i_persist_file);
82 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file);
89 if (!i_persist_file.get())
152 HRESULT result = i_persist_file->Save(shortcut_path.value().c_str(), TRUE);
156 i_persist_file.Release();