Forgot this file (fixes all the builds).
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 12 Aug 2013 16:15:44 +0000 (16:15 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 12 Aug 2013 16:15:44 +0000 (16:15 +0000)
svn path=/trunk/; revision=59712

reactos/include/reactos/subsys/win/conmsg.h

index 06cb931..0867163 100644 (file)
@@ -65,7 +65,7 @@ typedef enum _CONSRV_API_NUMBER
     ConsolepSetCursor,
     ConsolepShowCursor,
     ConsolepMenuControl,
-    // ConsolepSetPalette,
+    ConsolepSetPalette,
     ConsolepSetDisplayMode,
     // ConsolepRegisterVDM,
     ConsolepGetHardwareState,
@@ -303,6 +303,13 @@ typedef struct
     SMALL_RECT Region;
 } CONSOLE_INVALIDATEDIBITS, *PCONSOLE_INVALIDATEDIBITS;
 
+typedef struct
+{
+    HANDLE   OutputHandle;
+    HPALETTE PaletteHandle;
+    UINT     Usage;
+} CONSOLE_SETPALETTE, *PCONSOLE_SETPALETTE;
+
 typedef struct
 {
     DWORD Length;
@@ -664,6 +671,7 @@ typedef struct _CONSOLE_API_MESSAGE
 
         /* Console window */
         CONSOLE_INVALIDATEDIBITS InvalidateDIBitsRequest;
+        CONSOLE_SETPALETTE SetPaletteRequest;
         CONSOLE_GETSETCONSOLETITLE TitleRequest;
         CONSOLE_GETLARGESTWINDOWSIZE GetLargestWindowSizeRequest;
         CONSOLE_MENUCONTROL MenuControlRequest;