Fixed a library import
This commit is contained in:
@@ -21,7 +21,7 @@ public partial class WindowInteractionService
|
||||
private const int SC_MAXIMIZE = 0xF030;
|
||||
private const int SC_RESTORE = 0xF120;
|
||||
|
||||
[LibraryImport("user32.dll", StringMarshalling = StringMarshalling.Utf16)]
|
||||
[LibraryImport("user32.dll", EntryPoint = "SendMessageW", StringMarshalling = StringMarshalling.Utf16)]
|
||||
private static partial IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, string lParam);
|
||||
|
||||
[LibraryImport("user32.dll", EntryPoint = "PostMessageW")]
|
||||
|
||||
Reference in New Issue
Block a user