Lines Matching refs:i_shell_link
275 ScopedComPtr<IShellLink> i_shell_link; in ResolveShortcut() local
279 result = i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in ResolveShortcut()
284 result = persist.QueryFrom(i_shell_link); in ResolveShortcut()
291 result = i_shell_link->Resolve(0, SLR_NO_UI); in ResolveShortcut()
293 result = i_shell_link->GetPath(temp_path, MAX_PATH, in ResolveShortcut()
309 ScopedComPtr<IShellLink> i_shell_link; in CreateShortcutLink() local
313 HRESULT result = i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in CreateShortcutLink()
319 result = i_persist_file.QueryFrom(i_shell_link); in CreateShortcutLink()
323 if (FAILED(i_shell_link->SetPath(source))) in CreateShortcutLink()
326 if (working_dir && FAILED(i_shell_link->SetWorkingDirectory(working_dir))) in CreateShortcutLink()
329 if (arguments && FAILED(i_shell_link->SetArguments(arguments))) in CreateShortcutLink()
332 if (description && FAILED(i_shell_link->SetDescription(description))) in CreateShortcutLink()
335 if (icon && FAILED(i_shell_link->SetIconLocation(icon, icon_index))) in CreateShortcutLink()
340 if (FAILED(property_store.QueryFrom(i_shell_link))) in CreateShortcutLink()
357 ScopedComPtr<IShellLink> i_shell_link; in UpdateShortcutLink() local
358 if (FAILED(i_shell_link.CreateInstance(CLSID_ShellLink, NULL, in UpdateShortcutLink()
363 if (FAILED(i_persist_file.QueryFrom(i_shell_link))) in UpdateShortcutLink()
369 if (source && FAILED(i_shell_link->SetPath(source))) in UpdateShortcutLink()
372 if (working_dir && FAILED(i_shell_link->SetWorkingDirectory(working_dir))) in UpdateShortcutLink()
375 if (arguments && FAILED(i_shell_link->SetArguments(arguments))) in UpdateShortcutLink()
378 if (description && FAILED(i_shell_link->SetDescription(description))) in UpdateShortcutLink()
381 if (icon && FAILED(i_shell_link->SetIconLocation(icon, icon_index))) in UpdateShortcutLink()
386 if (FAILED(property_store.QueryFrom(i_shell_link))) in UpdateShortcutLink()