Commit for development environment setup

This commit is contained in:
Chris Glavan committed 2023-06-19 16:12:33 -04:00
1 parent be72063a3c
commit bbce2ad0a6
2209 files changed
+1171775 -625

No files matched your search

@@ -0,0 +1,25 @@
using System;
using System.Runtime.InteropServices;
namespace AT.STO.UI.Win
{
public static class UIApiCalls
{
#region Public Constants
public const int WM_ACTIVATE = 0x006;
public const int WM_ACTIVATEAPP = 0x01C;
public const int WM_NCACTIVATE = 0x086;
public const int KEYEVENTF_KEYUP = 0x0002;
#endregion
#region Public Static API Calls
[DllImport("user32", CharSet = CharSet.Auto)]
public extern static int SendMessage(IntPtr handle, int msg, int wParam, IntPtr lParam);
[DllImport("user32", CharSet = CharSet.Auto)]
public extern static int PostMessage(IntPtr handle, int msg, int wParam, IntPtr lParam);
[DllImport("user32")]
public extern static void keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo);
#endregion
}
}