Renaming nativemethods
This commit is contained in:
Родитель
1735be1cc2
Коммит
0669fbcc27
|
@ -152,7 +152,7 @@
|
||||||
<Compile Include="Models\LayoutModel.cs" />
|
<Compile Include="Models\LayoutModel.cs" />
|
||||||
<Compile Include="Models\MainWindowSettingsModel.cs" />
|
<Compile Include="Models\MainWindowSettingsModel.cs" />
|
||||||
<Compile Include="Converters\ModelToVisibilityConverter.xaml.cs" />
|
<Compile Include="Converters\ModelToVisibilityConverter.xaml.cs" />
|
||||||
<Compile Include="Native.cs" />
|
<Compile Include="NativeMethods.cs" />
|
||||||
<Compile Include="RowColInfo.cs" />
|
<Compile Include="RowColInfo.cs" />
|
||||||
<Compile Include="GridEditorWindow.xaml.cs">
|
<Compile Include="GridEditorWindow.xaml.cs">
|
||||||
<DependentUpon>GridEditorWindow.xaml</DependentUpon>
|
<DependentUpon>GridEditorWindow.xaml</DependentUpon>
|
||||||
|
@ -267,6 +267,11 @@
|
||||||
<PackageReference Include="MahApps.Metro">
|
<PackageReference Include="MahApps.Metro">
|
||||||
<Version>2.3.2</Version>
|
<Version>2.3.2</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
|
||||||
|
<Version>3.3.1</Version>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="System.IO.Abstractions">
|
<PackageReference Include="System.IO.Abstractions">
|
||||||
<Version>12.2.5</Version>
|
<Version>12.2.5</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
|
|
@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
|
||||||
namespace FancyZonesEditor
|
namespace FancyZonesEditor
|
||||||
{
|
{
|
||||||
// PInvokes to handshake with fancyzones backend
|
// PInvokes to handshake with fancyzones backend
|
||||||
internal static class Native
|
internal static class NativeMethods
|
||||||
{
|
{
|
||||||
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
|
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
|
||||||
public static extern IntPtr LoadLibrary([MarshalAs(UnmanagedType.LPStr)] string lpFileName);
|
public static extern IntPtr LoadLibrary([MarshalAs(UnmanagedType.LPStr)] string lpFileName);
|
Загрузка…
Ссылка в новой задаче