mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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.
svn path=/trunk/; revision=17707
This commit is contained in:
parent
76e45d3466
commit
77163e53d7
5 changed files with 7 additions and 4 deletions
|
@ -514,7 +514,7 @@ BOOLEAN DIB_1BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
|
|||
int zoomX;
|
||||
int zoomY;
|
||||
int count;
|
||||
int saveX;
|
||||
int saveX = 0;
|
||||
int saveY;
|
||||
BOOLEAN DesIsBiggerY=FALSE;
|
||||
|
||||
|
|
|
@ -528,7 +528,10 @@ XLATEOBJ_cGetPalette(XLATEOBJ *XlateObj, ULONG PalOutType, ULONG cPal,
|
|||
else if (PalOutType == XO_DESTPALETTE)
|
||||
hPalette = XlateGDI->DestPal;
|
||||
else
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
}
|
||||
|
||||
PalGDI = PALETTE_LockPalette(hPalette);
|
||||
if(PalGDI != NULL)
|
||||
|
|
|
@ -1024,7 +1024,7 @@ W32kKeyProcessMessage(LPMSG Msg,
|
|||
{ 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 &&
|
||||
|
|
|
@ -1656,7 +1656,7 @@ NtUserGetMenuItemRect(
|
|||
ROSMENUITEMINFO mii;
|
||||
HWND referenceHwnd;
|
||||
LPPOINT lpPoints;
|
||||
LPRECT lpRect;
|
||||
LPRECT lpRect = NULL;
|
||||
POINT FromOffset;
|
||||
LONG XMove, YMove;
|
||||
ULONG i;
|
||||
|
|
|
@ -1441,7 +1441,7 @@ NtGdiSetDCState ( HDC hDC, HDC hDCSave )
|
|||
INT FASTCALL
|
||||
IntGdiGetDeviceCaps(PDC dc, INT Index)
|
||||
{
|
||||
INT ret;
|
||||
INT ret = 0;
|
||||
POINT pt;
|
||||
|
||||
/* Retrieve capability */
|
||||
|
|
Loading…
Reference in a new issue