/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/platform/win/ |
H A D | windows_app_user_model_id.cpp | 93 ComPtr<IShellLink> shellLink; in checkPinned() local 98 IID_PPV_ARGS(&shellLink)); in checkPinned() 197 ComPtr<IShellLink> shellLink; in cleanupShortcut() local 202 IID_PPV_ARGS(&shellLink)); in cleanupShortcut() 206 hr = shellLink.As(&persistFile); in cleanupShortcut() 214 hr = shellLink->GetPath( in cleanupShortcut() 235 ComPtr<IShellLink> shellLink; in validateShortcutAt() local 240 IID_PPV_ARGS(&shellLink)); in validateShortcutAt() 337 ComPtr<IShellLink> shellLink; in validateShortcut() local 342 IID_PPV_ARGS(&shellLink)); in validateShortcut() [all …]
|
H A D | specific_win.cpp | 155 const auto shellLink = base::WinRT::TryCreateInstance<IShellLink>( in ManageAppLink() local 158 if (shellLink) { in ManageAppLink() 160 shellLink->SetArguments(args); in ManageAppLink() 161 shellLink->SetPath(exe.toStdWString().c_str()); in ManageAppLink() 162 shellLink->SetWorkingDirectory(dir.toStdWString().c_str()); in ManageAppLink() 163 shellLink->SetDescription(description); in ManageAppLink() 165 if (const auto propertyStore = shellLink.try_as<IPropertyStore>()) { in ManageAppLink() 177 if (const auto persistFile = shellLink.try_as<IPersistFile>()) { in ManageAppLink()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/source/vst/hosting/ |
H A D | module_win32.cpp | 176 IShellLink* shellLink = nullptr; in resolveShellLink() local 178 IID_IShellLink, reinterpret_cast<LPVOID*> (&shellLink)))) in resolveShellLink() 183 shellLink->QueryInterface (IID_IPersistFile, reinterpret_cast<void**> (&persistFile)))) in resolveShellLink() 189 if (!SUCCEEDED (shellLink->Resolve (nullptr, MAKELONG (SLR_NO_UI, 500)))) in resolveShellLink() 193 if (!SUCCEEDED (shellLink->GetPath (resolvedPath, MAX_PATH, nullptr, SLGP_SHORTPATH))) in resolveShellLink() 205 shellLink->Release (); in resolveShellLink()
|
/dports/www/firefox-esr/firefox-91.8.0/netwerk/protocol/file/ |
H A D | nsFileProtocolHandler.cpp | 140 RefPtr<IShellLinkW> shellLink; in ReadShellLink() local 144 IID_IShellLinkW, getter_AddRefs(shellLink))) || in ReadShellLink() 145 FAILED(shellLink->QueryInterface(IID_IPersistFile, in ReadShellLink() 148 FAILED(shellLink->Resolve(nullptr, SLR_NO_UI)) || in ReadShellLink() 149 FAILED(shellLink->GetPath(lpTemp, MAX_PATH, nullptr, SLGP_UNCPRIORITY))) { in ReadShellLink()
|
/dports/www/firefox/firefox-99.0/netwerk/protocol/file/ |
H A D | nsFileProtocolHandler.cpp | 140 RefPtr<IShellLinkW> shellLink; in ReadShellLink() local 144 IID_IShellLinkW, getter_AddRefs(shellLink))) || in ReadShellLink() 145 FAILED(shellLink->QueryInterface(IID_IPersistFile, in ReadShellLink() 148 FAILED(shellLink->Resolve(nullptr, SLR_NO_UI)) || in ReadShellLink() 149 FAILED(shellLink->GetPath(lpTemp, MAX_PATH, nullptr, SLGP_UNCPRIORITY))) { in ReadShellLink()
|
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/protocol/file/ |
H A D | nsFileProtocolHandler.cpp | 140 RefPtr<IShellLinkW> shellLink; in ReadShellLink() local 144 IID_IShellLinkW, getter_AddRefs(shellLink))) || in ReadShellLink() 145 FAILED(shellLink->QueryInterface(IID_IPersistFile, in ReadShellLink() 148 FAILED(shellLink->Resolve(nullptr, SLR_NO_UI)) || in ReadShellLink() 149 FAILED(shellLink->GetPath(lpTemp, MAX_PATH, nullptr, SLGP_UNCPRIORITY))) { in ReadShellLink()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/msw/rt/ |
H A D | notifmsgrt.cpp | 279 wxCOMPtr<IShellLink> shellLink; in CheckShortcut() local 281 IID_IShellLinkW, reinterpret_cast<void**>(&shellLink))) ) in CheckShortcut() 284 … if ( FAILED(shellLink->QueryInterface(IID_IPersistFile, reinterpret_cast<void**>(&persistFile))) ) in CheckShortcut() 287 …if ( FAILED(shellLink->QueryInterface(IID_IPropertyStore, reinterpret_cast<void**>(&propertyStore)… in CheckShortcut() 321 if ( FAILED(shellLink->SetPath(wxStandardPaths::Get().GetExecutablePath().t_str())) ) in CheckShortcut() 323 if ( FAILED(shellLink->SetArguments(wxT(""))) ) in CheckShortcut()
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/source/vst/hosting/ |
H A D | module_win32.cpp | 228 IShellLink* shellLink = nullptr; in resolveShellLink() local 230 IID_IShellLink, reinterpret_cast<LPVOID*> (&shellLink)))) in resolveShellLink() 235 shellLink->QueryInterface (IID_IPersistFile, reinterpret_cast<void**> (&persistFile)))) in resolveShellLink() 241 if (!SUCCEEDED (shellLink->Resolve (nullptr, MAKELONG (SLR_NO_UI, 500)))) in resolveShellLink() 245 if (!SUCCEEDED (shellLink->GetPath (resolvedPath, MAX_PATH, nullptr, SLGP_SHORTPATH))) in resolveShellLink() 257 shellLink->Release (); in resolveShellLink()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/WinToast/ |
H A D | moz-check-system-shortcut.patch | 66 hr = shellLink.As(&persistFile); 72 hr = shellLink.As(&propertyStore); 80 ComPtr<IShellLinkW> shellLink; 81 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink));
|
H A D | wintoastlib.cpp | 560 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 561 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 564 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 569 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 617 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 618 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 620 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 622 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 624 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 627 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/WinToast/ |
H A D | moz-check-system-shortcut.patch | 66 hr = shellLink.As(&persistFile); 72 hr = shellLink.As(&propertyStore); 80 ComPtr<IShellLinkW> shellLink; 81 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink));
|
H A D | wintoastlib.cpp | 560 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 561 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 564 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 569 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 617 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 618 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 620 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 622 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 624 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 627 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/WinToast/ |
H A D | moz-check-system-shortcut.patch | 66 hr = shellLink.As(&persistFile); 72 hr = shellLink.As(&propertyStore); 80 ComPtr<IShellLinkW> shellLink; 81 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink));
|
H A D | wintoastlib.cpp | 560 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 561 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 564 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 569 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 617 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 618 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 620 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 622 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 624 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 627 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_core/native/ |
H A D | juce_win32_Files.cpp | 712 ComSmartPtr<IShellLink> shellLink; in readWindowsLnkFile() local 715 if (SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in readWindowsLnkFile() 716 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in readWindowsLnkFile() 718 … && (! wantsAbsolutePath || SUCCEEDED (shellLink->Resolve (0, SLR_ANY_MATCH | SLR_NO_UI)))) in readWindowsLnkFile() 728 if (SUCCEEDED (shellLink->GetPath (resolvedPath, MAX_PATH, &winFindData, flags))) in readWindowsLnkFile() 861 ComSmartPtr<IShellLink> shellLink; in createShortcut() local 866 return SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in createShortcut() 867 && SUCCEEDED (shellLink->SetPath (getFullPathName().toWideCharPointer())) in createShortcut() 868 && SUCCEEDED (shellLink->SetDescription (description.toWideCharPointer())) in createShortcut() 869 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in createShortcut()
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_core/native/ |
H A D | juce_win32_Files.cpp | 712 ComSmartPtr<IShellLink> shellLink; in readWindowsLnkFile() local 715 if (SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in readWindowsLnkFile() 716 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in readWindowsLnkFile() 718 … && (! wantsAbsolutePath || SUCCEEDED (shellLink->Resolve (nullptr, SLR_ANY_MATCH | SLR_NO_UI)))) in readWindowsLnkFile() 728 if (SUCCEEDED (shellLink->GetPath (resolvedPath, MAX_PATH, &winFindData, flags))) in readWindowsLnkFile() 861 ComSmartPtr<IShellLink> shellLink; in createShortcut() local 866 return SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in createShortcut() 867 && SUCCEEDED (shellLink->SetPath (getFullPathName().toWideCharPointer())) in createShortcut() 868 && SUCCEEDED (shellLink->SetDescription (description.toWideCharPointer())) in createShortcut() 869 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in createShortcut()
|
/dports/audio/carla/Carla-2.4.1/source/modules/juce_core/native/ |
H A D | juce_win32_Files.cpp | 712 ComSmartPtr<IShellLink> shellLink; in readWindowsLnkFile() local 715 if (SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in readWindowsLnkFile() 716 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in readWindowsLnkFile() 718 … && (! wantsAbsolutePath || SUCCEEDED (shellLink->Resolve (nullptr, SLR_ANY_MATCH | SLR_NO_UI)))) in readWindowsLnkFile() 728 if (SUCCEEDED (shellLink->GetPath (resolvedPath, MAX_PATH, &winFindData, flags))) in readWindowsLnkFile() 861 ComSmartPtr<IShellLink> shellLink; in createShortcut() local 866 return SUCCEEDED (shellLink.CoCreateInstance (CLSID_ShellLink)) in createShortcut() 867 && SUCCEEDED (shellLink->SetPath (getFullPathName().toWideCharPointer())) in createShortcut() 868 && SUCCEEDED (shellLink->SetDescription (description.toWideCharPointer())) in createShortcut() 869 && SUCCEEDED (shellLink.QueryInterface (persistFile)) in createShortcut()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/msw/ |
H A D | taskbarbutton.cpp | 379 wxCOMPtr<IShellLink> shellLink; in AddShellLink() local 388 reinterpret_cast<void**> (&(shellLink)) in AddShellLink() 400 shellLink->SetPath(item.GetFilePath().wc_str()); in AddShellLink() 402 shellLink->SetArguments(item.GetArguments().wc_str()); in AddShellLink() 405 shellLink->SetIconLocation(item.GetIconPath().wc_str(), in AddShellLink() 409 shellLink->SetDescription(item.GetTooltip().wc_str()); in AddShellLink() 412 hr = shellLink->QueryInterface(wxIID_IPropertyStore, in AddShellLink() 445 hr = collection->AddObject(shellLink); in AddShellLink() 1511 wxCOMPtr<IShellLink> shellLink; in LoadKnownCategory() local 1516 wxIID_IShellLink, reinterpret_cast<void**>(&shellLink))) ) in LoadKnownCategory() [all …]
|
/dports/graphics/xpdf/xpdf-4.03/goo/ |
H A D | gfile.cc | 629 IShellLinkW *shellLink; in readWindowsShortcut() local 632 IID_IShellLinkW, (LPVOID *)&shellLink); in readWindowsShortcut() 638 IID_IShellLinkW, (LPVOID *)&shellLink); in readWindowsShortcut() 644 hres = shellLink->QueryInterface(IID_IPersistFile, (LPVOID *)&persistFile); in readWindowsShortcut() 654 hres = shellLink->GetPath(target, _MAX_PATH + 1, NULL, 0); in readWindowsShortcut() 658 shellLink->Release(); in readWindowsShortcut()
|
/dports/graphics/xpdf4/xpdf-4.03/goo/ |
H A D | gfile.cc | 629 IShellLinkW *shellLink; in readWindowsShortcut() local 632 IID_IShellLinkW, (LPVOID *)&shellLink); in readWindowsShortcut() 638 IID_IShellLinkW, (LPVOID *)&shellLink); in readWindowsShortcut() 644 hres = shellLink->QueryInterface(IID_IPersistFile, (LPVOID *)&persistFile); in readWindowsShortcut() 654 hres = shellLink->GetPath(target, _MAX_PATH + 1, NULL, 0); in readWindowsShortcut() 658 shellLink->Release(); in readWindowsShortcut()
|
/dports/net-im/spectral/spectral-817/src/notifications/ |
H A D | wintoastlib.cpp | 497 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 498 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 501 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 506 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 545 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 546 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 548 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 550 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 552 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 555 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/external/wintoast/src/ |
H A D | wintoastlib.cpp | 497 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 498 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 501 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 506 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 545 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 546 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 548 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 550 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 552 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 555 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/external/wintoast/src/ |
H A D | wintoastlib.cpp | 497 ComPtr<IShellLink> shellLink; in validateShellLinkHelper() local 498 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in validateShellLinkHelper() 501 hr = shellLink.As(&persistFile); in validateShellLinkHelper() 506 hr = shellLink.As(&propertyStore); in validateShellLinkHelper() 545 ComPtr<IShellLinkW> shellLink; in createShellLinkHelper() local 546 …LT hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&shellLink)); in createShellLinkHelper() 548 hr = shellLink->SetPath(exePath); in createShellLinkHelper() 550 hr = shellLink->SetArguments(L""); in createShellLinkHelper() 552 hr = shellLink->SetWorkingDirectory(exePath); in createShellLinkHelper() 555 hr = shellLink.As(&propertyStore); in createShellLinkHelper() [all …]
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/kfs/win/ |
H A D | sysdir.c | 1479 IShellLink *shellLink; in KSysDirResolveAlias() 1480 … rslt = CoCreateInstance( &IID_IShellLink, 0, CLSCTX_INPROC_SERVER, &IID_IShellLink, &shellLink ); in KSysDirResolveAlias() 1485 … rslt = shellLink->lpVtbl->QueryInterface( shellLink, &IID_IPersistFile, (void**)&persistFile ); in KSysDirResolveAlias() 1494 … rslt = shellLink->lpVtbl->Resolve( shellLink, 0, SLR_NO_UI + SLR_ANY_MATCH ); in KSysDirResolveAlias() 1498 … rslt = shellLink->lpVtbl->GetPath( shellLink, resolved, rsize, &info, 0 ); in KSysDirResolveAlias() 1507 shellLink->lpVtbl->Release( shellLink ); in KSysDirResolveAlias()
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/kfs/win/ |
H A D | sysdir.c | 1479 IShellLink *shellLink; in KSysDirResolveAlias() 1480 … rslt = CoCreateInstance( &IID_IShellLink, 0, CLSCTX_INPROC_SERVER, &IID_IShellLink, &shellLink ); in KSysDirResolveAlias() 1485 … rslt = shellLink->lpVtbl->QueryInterface( shellLink, &IID_IPersistFile, (void**)&persistFile ); in KSysDirResolveAlias() 1494 … rslt = shellLink->lpVtbl->Resolve( shellLink, 0, SLR_NO_UI + SLR_ANY_MATCH ); in KSysDirResolveAlias() 1498 … rslt = shellLink->lpVtbl->GetPath( shellLink, resolved, rsize, &info, 0 ); in KSysDirResolveAlias() 1507 shellLink->lpVtbl->Release( shellLink ); in KSysDirResolveAlias()
|