# HG changeset patch
# User sl
# Date 1419712533 -3600
# Node ID b044174a8d7bef50ecc80e337e3c9d2d809a0e4e
# Parent  63a5f4c05179e49ff8fba998f5be7f84c3602d44
Minor changes adding file for App Command stuff.
diff -r 63a5f4c05179 -r b044174a8d7b RemoteControlSample.csproj
--- a/RemoteControlSample.csproj	Thu Dec 25 15:12:21 2014 +0100
+++ b/RemoteControlSample.csproj	Sat Dec 27 21:35:33 2014 +0100
@@ -135,6 +135,7 @@
     
       Code
     
+    
     
     
     
diff -r 63a5f4c05179 -r b044174a8d7b Win32AppCommand.cs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Win32AppCommand.cs	Sat Dec 27 21:35:33 2014 +0100
@@ -0,0 +1,18 @@
+using System;
+using System.Runtime.InteropServices;
+
+namespace Win32
+{
+    static public partial class Const
+    {
+        public const int WM_APPCOMMAND = 0x0319;
+    }
+
+    static public partial class Macro
+    {
+        public static int GET_APPCOMMAND_LPARAM(IntPtr lParam)
+        {
+            return ((short)HIWORD(lParam.ToInt32()) & ~Const.FAPPCOMMAND_MASK);
+        }
+    }
+}
\ No newline at end of file
diff -r 63a5f4c05179 -r b044174a8d7b Win32RawInput.cs
--- a/Win32RawInput.cs	Thu Dec 25 15:12:21 2014 +0100
+++ b/Win32RawInput.cs	Sat Dec 27 21:35:33 2014 +0100
@@ -30,11 +30,6 @@
             return (wParam.ToInt32() & 0xff);
         }
 
-        public static int GET_APPCOMMAND_LPARAM(IntPtr lParam)
-        {
-            return ((short)HIWORD(lParam.ToInt32()) & ~Const.FAPPCOMMAND_MASK);
-        }
-
         public static int GET_DEVICE_LPARAM(IntPtr lParam)
         {
             return ((ushort)(HIWORD(lParam.ToInt32()) & Const.FAPPCOMMAND_MASK));
@@ -67,7 +62,6 @@
         /// Windows Messages
         /// 
         public const int WM_KEYDOWN = 0x0100;
-        public const int WM_APPCOMMAND = 0x0319;
         public const int WM_INPUT = 0x00FF;
 
         ///