reactos/reactos/dll/win32/gdi32/misc/hacks.c
James Tabor 70b9ba87f0 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- Remove NtGdiCreateDIBitmap, update all related files.
- Rewrite CreateDIBitmap.
- Tested with Qemu.


svn path=/trunk/; revision=32786
2008-03-30 22:37:42 +00:00

59 lines
1.1 KiB
C

#include "precomp.h"
/* $Id: stubs.c 28709 2007-08-31 15:09:51Z greatlrd $
*
* reactos/lib/gdi32/misc/hacks.c
*
* GDI32.DLL hacks
*
* Api that are hacked but we can not do correct implemtions yetm but using own syscall
*
*/
/*
* @unimplemented
*/
int
STDCALL
SetDIBits(HDC hdc,
HBITMAP hbmp,
UINT uStartScan,
UINT cScanLines,
CONST VOID *lpvBits,
CONST BITMAPINFO *lpbmi,
UINT fuColorUse)
{
/* FIXME share memory */
return NtGdiSetDIBits(hdc, hbmp, uStartScan, cScanLines, lpvBits, lpbmi, fuColorUse);
}
/*
* @implemented
*
*/
BOOL
STDCALL
OffsetViewportOrgEx(HDC hdc,
int nXOffset,
int nYOffset,
LPPOINT lpPoint)
{
return NtGdiOffsetViewportOrgEx(hdc, nXOffset, nYOffset, lpPoint);
}
/*
* @implemented
*
*/
BOOL
STDCALL
OffsetWindowOrgEx(HDC hdc,
int nXOffset,
int nYOffset,
LPPOINT lpPoint)
{
return NtGdiOffsetWindowOrgEx(hdc, nXOffset, nYOffset, lpPoint);
}