mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
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);
|
|||
|
|
}
|
|||
|
|
}
|