KEYBDDATA.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Diagnostics.CodeAnalysis; 6 using System.Runtime.InteropServices; 7 8 // <summary> 9 // Package format/conversion. 10 // </summary> 11 // <history> 12 // 2008 created by Truong Do (ductdo). 13 // 2009-... modified by Truong Do (TruongDo). 14 // 2023- Included in PowerToys. 15 // </history> 16 namespace MouseWithoutBorders.Core; 17 18 [StructLayout(LayoutKind.Sequential)] 19 internal struct KEYBDDATA 20 { 21 [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1307:Accessible fields should begin with upper-case letter", Justification = "Same name as in winAPI")] 22 internal int wVk; 23 [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1307:Accessible fields should begin with upper-case letter", Justification = "Same name as in winAPI")] 24 internal int dwFlags; 25 }