Misc code improvements

This commit is contained in:
Archi
2023-02-08 21:18:20 +01:00
parent 738a2c3508
commit b2c34694ae
2 changed files with 10 additions and 10 deletions

View File

@@ -111,10 +111,10 @@ internal static partial class NativeMethods {
[return: MarshalAs(UnmanagedType.Bool)]
#if NETFRAMEWORK
[DllImport("user32.dll")]
internal static extern bool ShowWindow(nint hWnd, int nCmdShow);
internal static extern void ShowWindow(nint hWnd, int nCmdShow);
#else
[LibraryImport("user32.dll")]
internal static partial bool ShowWindow(nint hWnd, int nCmdShow);
internal static partial void ShowWindow(nint hWnd, int nCmdShow);
#endif
[Flags]