diff --git a/reactos/dll/win32/gdi32/gdi32.rbuild b/reactos/dll/win32/gdi32/gdi32.rbuild index f36b5fd8e48..0c5408a1dec 100644 --- a/reactos/dll/win32/gdi32/gdi32.rbuild +++ b/reactos/dll/win32/gdi32/gdi32.rbuild @@ -20,6 +20,7 @@ heap.c gdientry.c + historic.c misc.c stubs.c stubsa.c diff --git a/reactos/dll/win32/gdi32/misc/historic.c b/reactos/dll/win32/gdi32/misc/historic.c new file mode 100644 index 00000000000..24386450daf --- /dev/null +++ b/reactos/dll/win32/gdi32/misc/historic.c @@ -0,0 +1,143 @@ +/* $Id: stubs.c 28709 2007-08-31 15:09:51Z greatlrd $ + * + * reactos/lib/gdi32/misc/historic.c + * + * GDI32.DLL Stubs + * + * Api that does basic nothing, but is here for backwords compatible with older windows + * + */ + +#include "precomp.h" + +/* + * @implemented + */ +BOOL +STDCALL +GdiPlayDCScript(DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5) +{ + /* FIXME fix the prototype right */ + return FALSE; +} + +/* + * @implemented + */ +BOOL +STDCALL +GdiPlayJournal(DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4) +{ + /* FIXME fix the prototype right */ + return FALSE; +} + +/* + * @implemented + */ +BOOL +STDCALL +GdiPlayScript(DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5, + DWORD a6) +{ + /* FIXME fix the prototype right */ + return FALSE; +} + +/* + * @implemented + */ +HBITMAP +STDCALL +GdiConvertBitmap(HBITMAP hbm) +{ + return hbm; +} + +/* + * @implemented + */ +HBRUSH +STDCALL +GdiConvertBrush(HBRUSH hbr) +{ + return hbr; +} + +/* + * @implemented + */ +HDC +STDCALL +GdiConvertDC(HDC hdc) +{ + return hdc; +} + +/* + * @implemented + */ +HFONT +STDCALL +GdiConvertFont(HFONT hfont) +{ + return hfont; +} + +/* + * @implemented + */ +HPALETTE +STDCALL +GdiConvertPalette(HPALETTE hpal) +{ + return hpal; +} + +/* + * @implemented + */ +HRGN +STDCALL +GdiConvertRegion(HRGN hregion) +{ + return hregion; +} + +/* + * @implemented + */ +BOOL +STDCALL +GdiSetAttrs(HDC hdc) +{ + return TRUE; +} + +/* + * @implemented + */ +VOID +STDCALL +GdiSetServerAttr(HDC hdc,DWORD attr) +{ + /* it does do nothing */ +} + + + + diff --git a/reactos/dll/win32/gdi32/misc/stubs.c b/reactos/dll/win32/gdi32/misc/stubs.c index d56a6f064f8..5df604bb5c7 100644 --- a/reactos/dll/win32/gdi32/misc/stubs.c +++ b/reactos/dll/win32/gdi32/misc/stubs.c @@ -1108,60 +1108,13 @@ wglSwapLayerBuffers( */ -/* - * @implemented - */ -BOOL -STDCALL -GdiPlayDCScript( - DWORD a0, - DWORD a1, - DWORD a2, - DWORD a3, - DWORD a4, - DWORD a5 - ) -{ - /* FIXME fix the prototype right */ - return FALSE; -} -/* - * @implemented - */ -BOOL -STDCALL -GdiPlayJournal( - DWORD a0, - DWORD a1, - DWORD a2, - DWORD a3, - DWORD a4 - ) -{ - /* FIXME fix the prototype right */ - return FALSE; -} -/* - * @implemented - */ -BOOL -STDCALL -GdiPlayScript( - DWORD a0, - DWORD a1, - DWORD a2, - DWORD a3, - DWORD a4, - DWORD a5, - DWORD a6) -{ - /* FIXME prototype */ - return FALSE; -} + + + /* @@ -1385,66 +1338,6 @@ GdiConvertAndCheckDC(HDC hdc) return 0; } -/* - * @implemented - */ -HBITMAP -STDCALL -GdiConvertBitmap(HBITMAP hbm) -{ - return hbm; -} - -/* - * @implemented - */ -HBRUSH -STDCALL -GdiConvertBrush(HBRUSH hbr) -{ - return hbr; -} - -/* - * @implemented - */ -HDC -STDCALL -GdiConvertDC(HDC hdc) -{ - return hdc; -} - -/* - * @implemented - */ -HFONT -STDCALL -GdiConvertFont(HFONT hfont) -{ - return hfont; -} - -/* - * @implemented - */ -HPALETTE -STDCALL -GdiConvertPalette(HPALETTE hpal) -{ - return hpal; -} - -/* - * @implemented - */ -HRGN -STDCALL -GdiConvertRegion(HRGN hregion) -{ - return hregion; -} - /* * @unimplemented */ @@ -1565,20 +1458,6 @@ GdiIsPlayMetafileDC(HDC hdc) return 0; } -/* - * @implemented - */ -BOOL -STDCALL -GdiSetAttrs(HDC hdc) -{ - return TRUE; -} - - - - - /* * @unimplemented */ @@ -1591,18 +1470,6 @@ GdiValidateHandle(HGDIOBJ hobj) return 0; } - - -/* - * @implemented - */ -VOID -STDCALL -GdiSetServerAttr(HDC hdc,DWORD attr) -{ - /* it does do nothing */ -} - /* * @unimplemented */