Skip to content

Commit

Permalink
chore: Remove NativeMethods changes
Browse files Browse the repository at this point in the history
  • Loading branch information
morning4coffe-dev committed Oct 4, 2024
1 parent aadf724 commit 042b727
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tools/ResourcesExtractor/ResourcesExtractor/Magic.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace ResourcesExtractor;
Expand Down Expand Up @@ -154,12 +153,5 @@ private static class NativeMethods

[DllImport("kernel32.dll", SetLastError = true)]
public static extern IntPtr LoadResource(IntPtr hModule, IntPtr hResInfo);


[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern nint GetModuleHandleW(string lpModuleName);

[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern nint FindResourceExW(nint hModule, nint lpType, nint lpName, int wLanguage);
}
}

0 comments on commit 042b727

Please sign in to comment.