move dummy api / old api, that does not do anything to historic.c, they are left in gdi32.dll for make it backwords compatble with older program

follow api moves from stubs.c to historic.c 
GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiSetAttrs, GdiSetServerAttr.

svn path=/trunk/; revision=28711
This commit is contained in:
Magnus Olsen 2007-08-31 15:49:19 +00:00
parent f81d4e1677
commit 36a71365d2
3 changed files with 147 additions and 136 deletions

View file

@ -20,6 +20,7 @@
<directory name="misc">
<file>heap.c</file>
<file>gdientry.c</file>
<file>historic.c</file>
<file>misc.c</file>
<file>stubs.c</file>
<file>stubsa.c</file>

View file

@ -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 */
}

View file

@ -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
*/