123456789101112131415161718192021222324252627282930 |
- using System.Runtime.InteropServices;
- namespace Microsoft.Win32
- {
- /// <summary>
- /// HARDWAREINPUT定义
- /// </summary>
- public static partial class NativeMethods
- {
- /// <summary>
- /// 硬件输入
- /// </summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct HARDWAREINPUT
- {
- /// <summary>
- /// The message generated by the input hardware.
- /// </summary>
- public int uMsg;
- /// <summary>
- /// The low-order word of the lParam parameter for uMsg.
- /// </summary>
- public short wParamL;
- /// <summary>
- /// The high-order word of the lParam parameter for uMsg.
- /// </summary>
- public short wParamH;
- }
- }
- }
|