@implemented and @unimplemented comments for subsys/win32k

svn path=/trunk/; revision=5077
This commit is contained in:
Royce Mitchell III 2003-07-11 15:59:37 +00:00
parent c31ca84c42
commit dadc689465
16 changed files with 140 additions and 18 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: bitblt.c,v 1.22 2003/07/09 07:00:00 gvg Exp $
/* $Id: bitblt.c,v 1.23 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -180,6 +180,9 @@ CallDibBitBlt(PSURFOBJ OutputObj,
INT abs(INT nm);
/*
* @unimplemented
*/
BOOL STDCALL
EngBitBlt(SURFOBJ *DestObj,
SURFOBJ *SourceObj,
@ -298,7 +301,7 @@ EngBitBlt(SURFOBJ *DestObj,
OutputGDI = (PSURFGDI)AccessInternalObjectFromUserObject(OutputObj);
}
/* The code currently assumes there will be a source bitmap. This is not true when, for example, using this function to
/* FIXME The code currently assumes there will be a source bitmap. This is not true when, for example, using this function to
* paint a brush pattern on the destination. */
if (NULL == InputObj && 0xaacc != Rop4 && PATCOPY != Rop4)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: brush.c,v 1.7 2003/05/18 17:16:17 ea Exp $
/* $Id: brush.c,v 1.8 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,6 +29,9 @@
#include <ddk/winddi.h>
/*
* @implemented
*/
PVOID STDCALL
BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
IN ULONG ObjSize)
@ -37,6 +40,9 @@ BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
return(BrushObj->pvRbrush);
}
/*
* @implemented
*/
PVOID STDCALL
BRUSHOBJ_pvGetRbrush(IN PBRUSHOBJ BrushObj)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: clip.c,v 1.12 2003/05/18 17:16:17 ea Exp $
/* $Id: clip.c,v 1.13 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -92,18 +92,27 @@ CLIPOBJ STDCALL * IntEngCreateClipRegion( ULONG count, PRECTL pRect, RECTL rcBou
return NULL;
}
/*
* @implemented
*/
CLIPOBJ * STDCALL
EngCreateClip(VOID)
{
return EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPOBJ), 0);
}
/*
* @implemented
*/
VOID STDCALL
EngDeleteClip(CLIPOBJ *ClipRegion)
{
EngFreeMem(ClipRegion);
}
/*
* @unimplemented
*/
ULONG STDCALL
CLIPOBJ_cEnumStart(IN PCLIPOBJ ClipObj,
IN BOOL ShouldDoAll,
@ -130,6 +139,9 @@ CLIPOBJ_cEnumStart(IN PCLIPOBJ ClipObj,
return ClipGDI->EnumRects.c;
}
/*
* @implemented
*/
BOOL STDCALL
CLIPOBJ_bEnum(IN PCLIPOBJ ClipObj,
IN ULONG ObjSize,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: copybits.c,v 1.14 2003/05/18 17:16:17 ea Exp $
/* $Id: copybits.c,v 1.15 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -36,6 +36,9 @@
#include <include/object.h>
#include <include/eng.h>
/*
* @unimplemented
*/
BOOL STDCALL
EngCopyBits(SURFOBJ *Dest,
SURFOBJ *Source,
@ -175,7 +178,8 @@ EngCopyBits(SURFOBJ *Dest,
} while(EnumMore);
MouseSafetyOnDrawEnd(Source, SourceGDI);
MouseSafetyOnDrawEnd(Source, SourceGDI);
MouseSafetyOnDrawEnd(Dest, DestGDI);
return(TRUE);

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: debug.c,v 1.4 2003/05/18 17:16:17 ea Exp $
/* $Id: debug.c,v 1.5 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,6 +29,9 @@
#include <ddk/ntddk.h>
/*
* @implemented
*/
VOID STDCALL
EngDebugPrint(PCHAR StandardPrefix,
PCHAR DebugMessage,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: device.c,v 1.8 2003/06/21 14:25:30 gvg Exp $
/* $Id: device.c,v 1.9 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -33,6 +33,9 @@
#define NDEBUG
#include <debug.h>
/*
* @implemented
*/
DWORD STDCALL
EngDeviceIoControl(HANDLE hDevice,
DWORD dwIoControlCode,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: lineto.c,v 1.18 2003/05/18 17:16:17 ea Exp $ */
/* $Id: lineto.c,v 1.19 2003/07/11 15:59:37 royce Exp $ */
#include <ddk/winddi.h>
#include <ddk/ntddmou.h>
#include <include/inteng.h>
@ -29,6 +29,9 @@
#include <include/object.h>
#include <include/surface.h>
/*
* @unimplemented
*/
BOOL STDCALL
EngLineTo(SURFOBJ *DestObj,
CLIPOBJ *Clip,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: mem.c,v 1.10 2003/06/19 17:13:28 gvg Exp $
/* $Id: mem.c,v 1.11 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -41,6 +41,9 @@ typedef struct _USERMEMHEADER
}
USERMEMHEADER, *PUSERMEMHEADER;
/*
* @implemented
*/
PVOID STDCALL
EngAllocMem(ULONG Flags,
ULONG MemSize,
@ -58,12 +61,18 @@ EngAllocMem(ULONG Flags,
return newMem;
}
/*
* @implemented
*/
VOID STDCALL
EngFreeMem(PVOID Mem)
{
ExFreePool(Mem);
}
/*
* @implemented
*/
PVOID STDCALL
EngAllocUserMem(ULONG cj, ULONG Tag)
{
@ -86,6 +95,9 @@ EngAllocUserMem(ULONG cj, ULONG Tag)
return (PVOID)(Header + 1);
}
/*
* @implemented
*/
VOID STDCALL
EngFreeUserMem(PVOID pv)
{
@ -95,12 +107,18 @@ EngFreeUserMem(PVOID pv)
ZwFreeVirtualMemory(NtCurrentProcess(), (PVOID *) &Header, &MemSize, MEM_DECOMMIT);
}
/*
* @implemented
*/
HANDLE STDCALL
EngSecureMem(PVOID Address, ULONG Length)
{
return MmSecureVirtualMemory(Address, Length, PAGE_READWRITE);
}
/*
* @implemented
*/
VOID STDCALL
EngUnsecureMem(HANDLE Mem)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: nls.c,v 1.1 2003/06/21 18:04:49 ekohl Exp $
/* $Id: nls.c,v 1.2 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -35,6 +35,9 @@
/* FUNCTIONS ****************************************************************/
/*
* @implemented
*/
VOID STDCALL
EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
OUT PUSHORT AnsiCodePage)
@ -43,6 +46,9 @@ EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
AnsiCodePage);
}
/*
* @implemented
*/
VOID STDCALL
EngMultiByteToUnicodeN(OUT LPWSTR UnicodeString,
IN ULONG MaxBytesInUnicodeString,
@ -57,6 +63,9 @@ EngMultiByteToUnicodeN(OUT LPWSTR UnicodeString,
BytesInMultiByteString);
}
/*
* @implemented
*/
VOID STDCALL
EngUnicodeToMultiByteN(OUT PCHAR MultiByteString,
IN ULONG MaxBytesInMultiByteString,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: paint.c,v 1.14 2003/05/18 17:16:17 ea Exp $
/* $Id: paint.c,v 1.15 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -102,6 +102,9 @@ EngPaintRgn(SURFOBJ *Surface, CLIPOBJ *ClipRegion, ULONG iColor, MIX Mix,
}
}
/*
* @unimplemented
*/
BOOL STDCALL
EngPaint(IN SURFOBJ *Surface,
IN CLIPOBJ *ClipRegion,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: palette.c,v 1.15 2003/05/18 17:16:17 ea Exp $
/* $Id: palette.c,v 1.16 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -34,6 +34,9 @@
#define NDEBUG
#include <win32k/debug1.h>
/*
* @implemented
*/
HPALETTE STDCALL
EngCreatePalette(ULONG Mode,
ULONG NumColors,
@ -74,6 +77,9 @@ EngCreatePalette(ULONG Mode,
return NewPalette;
}
/*
* @implemented
*/
BOOL STDCALL
EngDeletePalette(IN HPALETTE Palette)
{
@ -81,6 +87,9 @@ EngDeletePalette(IN HPALETTE Palette)
return TRUE;
}
/*
* @implemented
*/
ULONG STDCALL
PALOBJ_cGetColors(PALOBJ *PalObj,
ULONG Start,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: perfcnt.c,v 1.2 2003/06/20 10:37:23 gvg Exp $
/* $Id: perfcnt.c,v 1.3 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -31,6 +31,9 @@
#include <win32k/debug1.h>
#include <debug.h>
/*
* @implemented
*/
VOID STDCALL
EngQueryPerformanceFrequency(LONGLONG *Frequency)
{
@ -40,6 +43,9 @@ EngQueryPerformanceFrequency(LONGLONG *Frequency)
*Frequency = Freq.QuadPart;
}
/*
* @implemented
*/
VOID STDCALL
EngQueryPerformanceCounter(LONGLONG *Count)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: surface.c,v 1.19 2003/05/18 17:16:17 ea Exp $
/* $Id: surface.c,v 1.20 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -141,6 +141,9 @@ VOID FASTCALL InitializeFuncs(SURFGDI *SurfGDI, ULONG BitmapFormat)
}
}
/*
* @implemented
*/
HBITMAP STDCALL
EngCreateDeviceBitmap(IN DHSURF dhsurf,
IN SIZEL Size,
@ -156,6 +159,9 @@ EngCreateDeviceBitmap(IN DHSURF dhsurf,
return NewBitmap;
}
/*
* @implemented
*/
HBITMAP STDCALL
EngCreateBitmap(IN SIZEL Size,
IN LONG Width,
@ -214,6 +220,9 @@ EngCreateBitmap(IN SIZEL Size,
return NewBitmap;
}
/*
* @unimplemented
*/
HSURF STDCALL
EngCreateDeviceSurface(IN DHSURF dhsurf,
IN SIZEL Size,
@ -257,6 +266,9 @@ PFN FASTCALL DriverFunction(DRVENABLEDATA *DED, ULONG DriverFunc)
return NULL;
}
/*
* @implemented
*/
BOOL STDCALL
EngAssociateSurface(IN HSURF Surface,
IN HDEV Dev,
@ -296,6 +308,9 @@ EngAssociateSurface(IN HSURF Surface,
return TRUE;
}
/*
* @implemented
*/
BOOL STDCALL
EngDeleteSurface(IN HSURF Surface)
{
@ -303,6 +318,9 @@ EngDeleteSurface(IN HSURF Surface)
return TRUE;
}
/*
* @implemented
*/
BOOL STDCALL
EngEraseSurface(SURFOBJ *Surface,
RECTL *Rect,
@ -311,6 +329,9 @@ EngEraseSurface(SURFOBJ *Surface,
return FillSolid(Surface, Rect, iColor);
}
/*
* @unimplemented
*/
SURFOBJ * STDCALL
EngLockSurface(IN HSURF Surface)
{
@ -318,6 +339,9 @@ EngLockSurface(IN HSURF Surface)
return (SURFOBJ*)AccessUserObject((ULONG)Surface);
}
/*
* @unimplemented
*/
VOID STDCALL
EngUnlockSurface(IN SURFOBJ *Surface)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: xlate.c,v 1.19 2003/05/18 17:16:17 ea Exp $
/* $Id: xlate.c,v 1.20 2003/07/11 15:59:37 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -356,6 +356,9 @@ VOID FASTCALL EngDeleteXlate(XLATEOBJ *XlateObj)
FreeGDIHandle((ULONG)HXlate);
}
/*
* @implemented
*/
ULONG * STDCALL
XLATEOBJ_piVector(XLATEOBJ *XlateObj)
{
@ -369,6 +372,9 @@ XLATEOBJ_piVector(XLATEOBJ *XlateObj)
return NULL;
}
/*
* @unimplemented
*/
ULONG STDCALL
XLATEOBJ_iXlate(XLATEOBJ *XlateObj,
ULONG Color)
@ -406,6 +412,9 @@ XLATEOBJ_iXlate(XLATEOBJ *XlateObj,
return 0;
}
/*
* @implemented
*/
ULONG STDCALL
XLATEOBJ_cGetPalette(XLATEOBJ *XlateObj,
ULONG PalOutType,

View file

@ -16,13 +16,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: loader.c,v 1.10 2003/05/18 17:16:17 ea Exp $
/* $Id: loader.c,v 1.11 2003/07/11 15:59:37 royce Exp $
*
*/
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
/*
* @implemented
*/
HANDLE
STDCALL
EngLoadImage (LPWSTR DriverName)
@ -38,6 +41,9 @@ EngLoadImage (LPWSTR DriverName)
}
/*
* @unimplemented
*/
HANDLE
STDCALL
EngLoadModule(LPWSTR ModuleName)

View file

@ -237,7 +237,11 @@ int mod(int num, int denom)
return dvt.rem;
}
//FIXME! Is there a better algorithm. like FT_MulDiv
/*
* FIXME! Is there a better algorithm. like FT_MulDiv
*
* @implemented
*/
INT STDCALL EngMulDiv(
INT nMultiplicand,
INT nMultiplier,