mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
* [PT Run][New Plugin] Web Search * [PT Run][Web Search] Added plugin files to WXS and YML * [PT Run][Web Search] Added docs * [PT Run][Web Search] Added new option + minor modifications * [PT Run][Web Search] Fixed a bug + minor refactoring * [PT Run][Web Search] Updated docs and changed icons * [PT Run][Web Search] Fixed capitalization for spell check + fixed icons * [PT Run][Web Search] Fixed renaming * adding cyberrex to name * [PT Run][Web Search] Fixed typo in doc screenshot * [PT Run][Web Search] Fixed plugin not working with Opera browser + minor modifications * Fixed merge and typo * [PT Run][Web Search] Removed globalization error suppression + changed action word * [PT Run][Web Search] Added LocProject.json + minor modifications * [PT Run][Web Search] Using plugin icon to not confuse with uri plugin + changed action word because another plugin uses it * Added Firefox to spell-check expect.txt * [PT Run][Web Search] Fixed bug with opera + changed default setting's value to false * Added sourceid to spell-check expect.txt * [PT Run][WebSearch] Changed action word * Making Web plugin a dependency for launcher like other plugins * [PT Run][Web Search] Now using JsonDocument + better way of getting browser name * [PT Run][Web Search] Fixed bug * adding in DLL to signing for release.yml build Co-authored-by: Clint Rutkas <clint@rutkas.com>
22 lines
651 B
C#
22 lines
651 B
C#
// 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.
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
|
|
namespace Community.PowerToys.Run.Plugin.WebSearch
|
|
{
|
|
internal static class NativeMethods
|
|
{
|
|
internal enum Hresult : uint
|
|
{
|
|
Ok = 0x0000,
|
|
}
|
|
|
|
[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]
|
|
internal static extern Hresult SHLoadIndirectString(string pszSource, StringBuilder pszOutBuf, uint cchOutBuf, IntPtr ppvReserved);
|
|
}
|
|
}
|