Searched refs:i_shell_link (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/base/win/ |
D | shortcut.cc | 29 ScopedComPtr<IShellLink>* i_shell_link, in InitializeShortcutInterfaces() argument 31 i_shell_link->Release(); in InitializeShortcutInterfaces() 33 if (FAILED(i_shell_link->CreateInstance(CLSID_ShellLink, NULL, in InitializeShortcutInterfaces() 35 FAILED(i_persist_file->QueryFrom(*i_shell_link)) || in InitializeShortcutInterfaces() 37 i_shell_link->Release(); in InitializeShortcutInterfaces() 63 ScopedComPtr<IShellLink> i_shell_link; in CreateOrUpdateShortcutLink() local 67 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file); in CreateOrUpdateShortcutLink() 70 InitializeShortcutInterfaces(shortcut_path.value().c_str(), &i_shell_link, in CreateOrUpdateShortcutLink() 81 InitializeShortcutInterfaces(NULL, &i_shell_link, &i_persist_file); in CreateOrUpdateShortcutLink() 92 FAILED(i_shell_link->SetPath(properties.target.value().c_str()))) { in CreateOrUpdateShortcutLink() [all …]
|
/external/chromium_org/base/test/ |
D | test_shortcut_win.cc | 58 ScopedComPtr<IShellLink> i_shell_link; in ValidateShortcut() local 71 EXPECT_TRUE(SUCCEEDED(hr = i_shell_link.CreateInstance( in ValidateShortcut() 76 EXPECT_TRUE(SUCCEEDED(hr = i_persist_file.QueryFrom(i_shell_link))); in ValidateShortcut() 89 i_shell_link->GetPath(read_target, MAX_PATH, NULL, SLGP_SHORTPATH))); in ValidateShortcut() 95 i_shell_link->GetWorkingDirectory(read_working_dir, MAX_PATH))); in ValidateShortcut() 102 i_shell_link->GetArguments(read_arguments, MAX_PATH))); in ValidateShortcut() 108 i_shell_link->GetDescription(read_description, MAX_PATH))); in ValidateShortcut() 114 i_shell_link->GetIconLocation(read_icon, MAX_PATH, &read_icon_index))); in ValidateShortcut() 121 EXPECT_TRUE(SUCCEEDED(hr = property_store.QueryFrom(i_shell_link))); in ValidateShortcut()
|
/external/chromium/base/ |
D | file_util_win.cc | 376 base::win::ScopedComPtr<IShellLink> i_shell_link; in ResolveShortcut() local 380 result = i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in ResolveShortcut() 385 result = persist.QueryFrom(i_shell_link); in ResolveShortcut() 392 result = i_shell_link->Resolve(0, SLR_NO_UI); in ResolveShortcut() 394 result = i_shell_link->GetPath(temp_path, MAX_PATH, in ResolveShortcut() 416 base::win::ScopedComPtr<IShellLink> i_shell_link; in CreateShortcutLink() local 420 HRESULT result = i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in CreateShortcutLink() 426 result = i_persist_file.QueryFrom(i_shell_link); in CreateShortcutLink() 430 if (FAILED(i_shell_link->SetPath(source))) in CreateShortcutLink() 433 if (working_dir && FAILED(i_shell_link->SetWorkingDirectory(working_dir))) in CreateShortcutLink() [all …]
|
/external/chromium_org/win8/metro_driver/ |
D | winrt_utils.cc | 175 base::win::ScopedComPtr<IShellLink> i_shell_link; in GetArgumentsFromShortcut() local 182 result = i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in GetArgumentsFromShortcut() 187 result = persist.QueryFrom(i_shell_link); in GetArgumentsFromShortcut() 193 result = i_shell_link->GetArguments(temp_arguments, MAX_PATH); in GetArgumentsFromShortcut()
|