Searched defs:i_persist_file (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/base/test/
H A Dtest_shortcut_win.cc59 ScopedComPtr<IPersistFile> i_persist_file; local
76 EXPECT_TRUE(SUCCEEDED(hr = i_persist_file.QueryFrom(i_shell_link)));
81 EXPECT_TRUE(SUCCEEDED(hr = i_persist_file->Load(
/external/chromium_org/base/win/
H A Dshortcut.cc22 // 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; local
67 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file);
27 InitializeShortcutInterfaces( const wchar_t* shortcut, ScopedComPtr<IShellLink>* i_shell_link, ScopedComPtr<IPersistFile>* i_persist_file) argument
[all...]
/external/chromium/base/
H A Dfile_util_win.cc417 base::win::ScopedComPtr<IPersistFile> i_persist_file; local
426 result = i_persist_file.QueryFrom(i_shell_link);
454 result = i_persist_file->Save(destination, TRUE);
474 base::win::ScopedComPtr<IPersistFile> i_persist_file;
475 if (FAILED(i_persist_file.QueryFrom(i_shell_link)))
478 if (FAILED(i_persist_file->Load(destination, STGM_READWRITE)))
505 HRESULT result = i_persist_file->Save(destination, TRUE);
507 i_persist_file.Release();

Completed in 65 milliseconds