mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:52:59 +00:00

- Remove NtGdiCreateDIBitmap, update all related files. - Rewrite CreateDIBitmap. - Tested with Qemu. svn path=/trunk/; revision=32786
59 lines
1.1 KiB
C
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);
|
|
}
|
|
|
|
|
|
|