mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
- Move StretchDIBits out of stubs. Add more notes.
svn path=/trunk/; revision=37404
This commit is contained in:
parent
92b81a8473
commit
ab2600780f
3 changed files with 27 additions and 27 deletions
|
@ -21,31 +21,6 @@
|
||||||
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
|
#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
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -315,7 +315,7 @@ CreateDIBitmap( HDC hDC,
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0 // FIXME!!! This is a victim of the Win32k Initialization BUG!!!!!
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -507,7 +507,7 @@ GetDeviceCaps(HDC hDC,
|
||||||
{
|
{
|
||||||
// HAX!!!!
|
// HAX!!!!
|
||||||
// Due to winlogon process/thread mapping issues we have this 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);
|
return NtGdiGetDeviceCaps(hDC,i);
|
||||||
|
|
||||||
if (!GdiGetHandleUserData((HGDIOBJ) hDC, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr))
|
if (!GdiGetHandleUserData((HGDIOBJ) hDC, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue