1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Win32AppCommand.cs Sat Dec 27 21:35:33 2014 +0100
1.3 @@ -0,0 +1,18 @@
1.4 +using System;
1.5 +using System.Runtime.InteropServices;
1.6 +
1.7 +namespace Win32
1.8 +{
1.9 + static public partial class Const
1.10 + {
1.11 + public const int WM_APPCOMMAND = 0x0319;
1.12 + }
1.13 +
1.14 + static public partial class Macro
1.15 + {
1.16 + public static int GET_APPCOMMAND_LPARAM(IntPtr lParam)
1.17 + {
1.18 + return ((short)HIWORD(lParam.ToInt32()) & ~Const.FAPPCOMMAND_MASK);
1.19 + }
1.20 + }
1.21 +}
1.22 \ No newline at end of file