mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[PTRun][Program]Fix crashes getting images for .lnk files (#29237)
* [PTRun] Refactor GetHBitmap to handle external DLL failures in a separate task.
* Revert "[PTRun] Refactor GetHBitmap to handle external DLL failures in a separate task."
This reverts commit 159c5744b8.
* [PTRun] GetBitmapSource function has been added for file extensions that cause crashes.
* [PTRun] Spell Check update.
* [PTRun] Renamed function and variable name.
* [PTRun] ShellLinkHelper moved to Wox.Infrastructure for common use.
This commit is contained in:
17
src/modules/launcher/Wox.Infrastructure/IShellLinkHelper.cs
Normal file
17
src/modules/launcher/Wox.Infrastructure/IShellLinkHelper.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Wox.Infrastructure
|
||||
{
|
||||
public interface IShellLinkHelper
|
||||
{
|
||||
string RetrieveTargetPath(string path);
|
||||
|
||||
string Description { get; set; }
|
||||
|
||||
string Arguments { get; set; }
|
||||
|
||||
bool HasArguments { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user