diff --git a/src/modules/launcher/PowerLauncher/App.xaml.cs b/src/modules/launcher/PowerLauncher/App.xaml.cs index 9a714082d7..c036121d25 100644 --- a/src/modules/launcher/PowerLauncher/App.xaml.cs +++ b/src/modules/launcher/PowerLauncher/App.xaml.cs @@ -122,7 +122,7 @@ namespace PowerLauncher } [DllImport("kernel32.dll", SetLastError = true)] - public static extern IntPtr OpenProcess(uint processAccess, bool bInheritHandle, int processId); + private static extern IntPtr OpenProcess(uint processAccess, bool bInheritHandle, int processId); [DllImport("kernel32.dll", SetLastError = true)] private static extern uint WaitForSingleObject(IntPtr hHandle, uint dwMilliseconds);