From 042b7274f530763f14e20ca9682bc83218032da3 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:57:22 +0200 Subject: [PATCH] chore: Remove NativeMethods changes --- tools/ResourcesExtractor/ResourcesExtractor/Magic.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tools/ResourcesExtractor/ResourcesExtractor/Magic.cs b/tools/ResourcesExtractor/ResourcesExtractor/Magic.cs index 397c09537284..3e1ab5229d02 100644 --- a/tools/ResourcesExtractor/ResourcesExtractor/Magic.cs +++ b/tools/ResourcesExtractor/ResourcesExtractor/Magic.cs @@ -1,6 +1,5 @@ using System; using System.Diagnostics; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace ResourcesExtractor; @@ -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); } }