- Move StretchDIBits out of stubs. Add more notes.

svn path=/trunk/; revision=37404
This commit is contained in:
James Tabor 2008-11-17 13:55:00 +00:00
parent 92b81a8473
commit ab2600780f
3 changed files with 27 additions and 27 deletions

View file

@ -21,31 +21,6 @@
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
/*
* @unimplemented
*/
int
STDCALL
StretchDIBits(HDC hdc,
int XDest,
int YDest,
int nDestWidth,
int nDestHeight,
int XSrc,
int YSrc,
int nSrcWidth,
int nSrcHeight,
CONST VOID *lpBits,
CONST BITMAPINFO *lpBitsInfo,
UINT iUsage,
DWORD dwRop)
{
/* FIXME share memory */
return NtGdiStretchDIBitsInternal(hdc, XDest, YDest, nDestWidth, nDestHeight, XSrc, YSrc,
nSrcWidth, nSrcHeight, (LPBYTE)lpBits, (LPBITMAPINFO)lpBitsInfo, (DWORD)iUsage, dwRop, 0, 0, NULL);
}
/*
* @unimplemented
*/

View file

@ -315,7 +315,7 @@ CreateDIBitmap( HDC hDC,
0);
}
#if 0
#if 0 // FIXME!!! This is a victim of the Win32k Initialization BUG!!!!!
/*
* @implemented
*/
@ -461,4 +461,29 @@ SetDIBitsToDevice(
}
/*
* @unimplemented
*/
int
STDCALL
StretchDIBits(HDC hdc,
int XDest,
int YDest,
int nDestWidth,
int nDestHeight,
int XSrc,
int YSrc,
int nSrcWidth,
int nSrcHeight,
CONST VOID *lpBits,
CONST BITMAPINFO *lpBitsInfo,
UINT iUsage,
DWORD dwRop)
{
DPRINT("StretchDIBits %x : %x\n", lpBits, lpBitsInfo);
/* FIXME share memory */
return NtGdiStretchDIBitsInternal(hdc, XDest, YDest, nDestWidth, nDestHeight, XSrc, YSrc,
nSrcWidth, nSrcHeight, (LPBYTE)lpBits, (LPBITMAPINFO)lpBitsInfo, (DWORD)iUsage, dwRop, 0, 0, NULL);
}

View file

@ -507,7 +507,7 @@ GetDeviceCaps(HDC hDC,
{
// HAX!!!!
// Due to winlogon process/thread mapping issues we have this hax!
//
// FIXME!!! This is a victim of the Win32k Initialization BUG!!!!!
return NtGdiGetDeviceCaps(hDC,i);
if (!GdiGetHandleUserData((HGDIOBJ) hDC, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr))