Fix win32k build errors so HEAD can build again, although most are caused by poor programming and will crash if called with unexpected parameters that aren't being properly handled.
Modified: trunk/reactos/subsys/win32k/dib/dib1bpp.c
Modified: trunk/reactos/subsys/win32k/eng/xlate.c
Modified: trunk/reactos/subsys/win32k/ntuser/keyboard.c
Modified: trunk/reactos/subsys/win32k/ntuser/menu.c
Modified: trunk/reactos/subsys/win32k/objects/dc.c

Modified: trunk/reactos/subsys/win32k/dib/dib1bpp.c
--- trunk/reactos/subsys/win32k/dib/dib1bpp.c	2005-09-06 22:11:37 UTC (rev 17706)
+++ trunk/reactos/subsys/win32k/dib/dib1bpp.c	2005-09-06 23:05:13 UTC (rev 17707)
@@ -514,7 +514,7 @@
    int zoomX;
    int zoomY;
    int count;
-   int saveX;
+   int saveX = 0;
    int saveY;
    BOOLEAN DesIsBiggerY=FALSE;
 

Modified: trunk/reactos/subsys/win32k/eng/xlate.c
--- trunk/reactos/subsys/win32k/eng/xlate.c	2005-09-06 22:11:37 UTC (rev 17706)
+++ trunk/reactos/subsys/win32k/eng/xlate.c	2005-09-06 23:05:13 UTC (rev 17707)
@@ -528,7 +528,10 @@
    else if (PalOutType == XO_DESTPALETTE)
       hPalette = XlateGDI->DestPal;
    else
+   {
       UNIMPLEMENTED;
+      return 0;
+    }
 
    PalGDI = PALETTE_LockPalette(hPalette);
    if(PalGDI != NULL)

Modified: trunk/reactos/subsys/win32k/ntuser/keyboard.c
--- trunk/reactos/subsys/win32k/ntuser/keyboard.c	2005-09-06 22:11:37 UTC (rev 17706)
+++ trunk/reactos/subsys/win32k/ntuser/keyboard.c	2005-09-06 23:05:13 UTC (rev 17707)
@@ -1024,7 +1024,7 @@
       { VK_UP,     VK_NUMPAD8 },
       { VK_PRIOR,  VK_NUMPAD9 },
       { 0,0 } };
-  PVSC_VK VscVkTable;
+  PVSC_VK VscVkTable = NULL;
 
   if( !KeyboardLayout || !Msg ||
       (Msg->message != WM_KEYDOWN && Msg->message != WM_SYSKEYDOWN &&

Modified: trunk/reactos/subsys/win32k/ntuser/menu.c
--- trunk/reactos/subsys/win32k/ntuser/menu.c	2005-09-06 22:11:37 UTC (rev 17706)
+++ trunk/reactos/subsys/win32k/ntuser/menu.c	2005-09-06 23:05:13 UTC (rev 17707)
@@ -1656,7 +1656,7 @@
      ROSMENUITEMINFO mii;
      HWND referenceHwnd;
      LPPOINT lpPoints;
-     LPRECT lpRect;
+     LPRECT lpRect = NULL;
      POINT FromOffset;
      LONG XMove, YMove;
      ULONG i;

Modified: trunk/reactos/subsys/win32k/objects/dc.c
--- trunk/reactos/subsys/win32k/objects/dc.c	2005-09-06 22:11:37 UTC (rev 17706)
+++ trunk/reactos/subsys/win32k/objects/dc.c	2005-09-06 23:05:13 UTC (rev 17707)
@@ -1441,7 +1441,7 @@
 INT FASTCALL
 IntGdiGetDeviceCaps(PDC dc, INT Index)
 {
-  INT ret;
+  INT ret = 0;
   POINT  pt;
 
   /* Retrieve capability */