mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 21:48:19 +00:00
@implemented and @unimplemented comments for subsys/win32k
svn path=/trunk/; revision=5077
This commit is contained in:
parent
c31ca84c42
commit
dadc689465
16 changed files with 140 additions and 18 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -180,6 +180,9 @@ CallDibBitBlt(PSURFOBJ OutputObj,
|
||||||
|
|
||||||
INT abs(INT nm);
|
INT abs(INT nm);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngBitBlt(SURFOBJ *DestObj,
|
EngBitBlt(SURFOBJ *DestObj,
|
||||||
SURFOBJ *SourceObj,
|
SURFOBJ *SourceObj,
|
||||||
|
@ -298,7 +301,7 @@ EngBitBlt(SURFOBJ *DestObj,
|
||||||
OutputGDI = (PSURFGDI)AccessInternalObjectFromUserObject(OutputObj);
|
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. */
|
* paint a brush pattern on the destination. */
|
||||||
if (NULL == InputObj && 0xaacc != Rop4 && PATCOPY != Rop4)
|
if (NULL == InputObj && 0xaacc != Rop4 && PATCOPY != Rop4)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -29,6 +29,9 @@
|
||||||
|
|
||||||
#include <ddk/winddi.h>
|
#include <ddk/winddi.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PVOID STDCALL
|
PVOID STDCALL
|
||||||
BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
|
BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
|
||||||
IN ULONG ObjSize)
|
IN ULONG ObjSize)
|
||||||
|
@ -37,6 +40,9 @@ BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
|
||||||
return(BrushObj->pvRbrush);
|
return(BrushObj->pvRbrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PVOID STDCALL
|
PVOID STDCALL
|
||||||
BRUSHOBJ_pvGetRbrush(IN PBRUSHOBJ BrushObj)
|
BRUSHOBJ_pvGetRbrush(IN PBRUSHOBJ BrushObj)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -92,18 +92,27 @@ CLIPOBJ STDCALL * IntEngCreateClipRegion( ULONG count, PRECTL pRect, RECTL rcBou
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
CLIPOBJ * STDCALL
|
CLIPOBJ * STDCALL
|
||||||
EngCreateClip(VOID)
|
EngCreateClip(VOID)
|
||||||
{
|
{
|
||||||
return EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPOBJ), 0);
|
return EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPOBJ), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngDeleteClip(CLIPOBJ *ClipRegion)
|
EngDeleteClip(CLIPOBJ *ClipRegion)
|
||||||
{
|
{
|
||||||
EngFreeMem(ClipRegion);
|
EngFreeMem(ClipRegion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
CLIPOBJ_cEnumStart(IN PCLIPOBJ ClipObj,
|
CLIPOBJ_cEnumStart(IN PCLIPOBJ ClipObj,
|
||||||
IN BOOL ShouldDoAll,
|
IN BOOL ShouldDoAll,
|
||||||
|
@ -130,6 +139,9 @@ CLIPOBJ_cEnumStart(IN PCLIPOBJ ClipObj,
|
||||||
return ClipGDI->EnumRects.c;
|
return ClipGDI->EnumRects.c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
CLIPOBJ_bEnum(IN PCLIPOBJ ClipObj,
|
CLIPOBJ_bEnum(IN PCLIPOBJ ClipObj,
|
||||||
IN ULONG ObjSize,
|
IN ULONG ObjSize,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -36,6 +36,9 @@
|
||||||
#include <include/object.h>
|
#include <include/object.h>
|
||||||
#include <include/eng.h>
|
#include <include/eng.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngCopyBits(SURFOBJ *Dest,
|
EngCopyBits(SURFOBJ *Dest,
|
||||||
SURFOBJ *Source,
|
SURFOBJ *Source,
|
||||||
|
@ -175,7 +178,8 @@ EngCopyBits(SURFOBJ *Dest,
|
||||||
|
|
||||||
} while(EnumMore);
|
} while(EnumMore);
|
||||||
|
|
||||||
MouseSafetyOnDrawEnd(Source, SourceGDI);
|
MouseSafetyOnDrawEnd(Source, SourceGDI);
|
||||||
|
|
||||||
MouseSafetyOnDrawEnd(Dest, DestGDI);
|
MouseSafetyOnDrawEnd(Dest, DestGDI);
|
||||||
|
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -29,6 +29,9 @@
|
||||||
|
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngDebugPrint(PCHAR StandardPrefix,
|
EngDebugPrint(PCHAR StandardPrefix,
|
||||||
PCHAR DebugMessage,
|
PCHAR DebugMessage,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -33,6 +33,9 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
DWORD STDCALL
|
DWORD STDCALL
|
||||||
EngDeviceIoControl(HANDLE hDevice,
|
EngDeviceIoControl(HANDLE hDevice,
|
||||||
DWORD dwIoControlCode,
|
DWORD dwIoControlCode,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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/winddi.h>
|
||||||
#include <ddk/ntddmou.h>
|
#include <ddk/ntddmou.h>
|
||||||
#include <include/inteng.h>
|
#include <include/inteng.h>
|
||||||
|
@ -29,6 +29,9 @@
|
||||||
#include <include/object.h>
|
#include <include/object.h>
|
||||||
#include <include/surface.h>
|
#include <include/surface.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngLineTo(SURFOBJ *DestObj,
|
EngLineTo(SURFOBJ *DestObj,
|
||||||
CLIPOBJ *Clip,
|
CLIPOBJ *Clip,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -41,6 +41,9 @@ typedef struct _USERMEMHEADER
|
||||||
}
|
}
|
||||||
USERMEMHEADER, *PUSERMEMHEADER;
|
USERMEMHEADER, *PUSERMEMHEADER;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PVOID STDCALL
|
PVOID STDCALL
|
||||||
EngAllocMem(ULONG Flags,
|
EngAllocMem(ULONG Flags,
|
||||||
ULONG MemSize,
|
ULONG MemSize,
|
||||||
|
@ -58,12 +61,18 @@ EngAllocMem(ULONG Flags,
|
||||||
return newMem;
|
return newMem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngFreeMem(PVOID Mem)
|
EngFreeMem(PVOID Mem)
|
||||||
{
|
{
|
||||||
ExFreePool(Mem);
|
ExFreePool(Mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PVOID STDCALL
|
PVOID STDCALL
|
||||||
EngAllocUserMem(ULONG cj, ULONG Tag)
|
EngAllocUserMem(ULONG cj, ULONG Tag)
|
||||||
{
|
{
|
||||||
|
@ -86,6 +95,9 @@ EngAllocUserMem(ULONG cj, ULONG Tag)
|
||||||
return (PVOID)(Header + 1);
|
return (PVOID)(Header + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngFreeUserMem(PVOID pv)
|
EngFreeUserMem(PVOID pv)
|
||||||
{
|
{
|
||||||
|
@ -95,12 +107,18 @@ EngFreeUserMem(PVOID pv)
|
||||||
ZwFreeVirtualMemory(NtCurrentProcess(), (PVOID *) &Header, &MemSize, MEM_DECOMMIT);
|
ZwFreeVirtualMemory(NtCurrentProcess(), (PVOID *) &Header, &MemSize, MEM_DECOMMIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
HANDLE STDCALL
|
HANDLE STDCALL
|
||||||
EngSecureMem(PVOID Address, ULONG Length)
|
EngSecureMem(PVOID Address, ULONG Length)
|
||||||
{
|
{
|
||||||
return MmSecureVirtualMemory(Address, Length, PAGE_READWRITE);
|
return MmSecureVirtualMemory(Address, Length, PAGE_READWRITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngUnsecureMem(HANDLE Mem)
|
EngUnsecureMem(HANDLE Mem)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -35,6 +35,9 @@
|
||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
|
EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
|
||||||
OUT PUSHORT AnsiCodePage)
|
OUT PUSHORT AnsiCodePage)
|
||||||
|
@ -43,6 +46,9 @@ EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
|
||||||
AnsiCodePage);
|
AnsiCodePage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngMultiByteToUnicodeN(OUT LPWSTR UnicodeString,
|
EngMultiByteToUnicodeN(OUT LPWSTR UnicodeString,
|
||||||
IN ULONG MaxBytesInUnicodeString,
|
IN ULONG MaxBytesInUnicodeString,
|
||||||
|
@ -57,6 +63,9 @@ EngMultiByteToUnicodeN(OUT LPWSTR UnicodeString,
|
||||||
BytesInMultiByteString);
|
BytesInMultiByteString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngUnicodeToMultiByteN(OUT PCHAR MultiByteString,
|
EngUnicodeToMultiByteN(OUT PCHAR MultiByteString,
|
||||||
IN ULONG MaxBytesInMultiByteString,
|
IN ULONG MaxBytesInMultiByteString,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -102,6 +102,9 @@ EngPaintRgn(SURFOBJ *Surface, CLIPOBJ *ClipRegion, ULONG iColor, MIX Mix,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngPaint(IN SURFOBJ *Surface,
|
EngPaint(IN SURFOBJ *Surface,
|
||||||
IN CLIPOBJ *ClipRegion,
|
IN CLIPOBJ *ClipRegion,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -34,6 +34,9 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <win32k/debug1.h>
|
#include <win32k/debug1.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
HPALETTE STDCALL
|
HPALETTE STDCALL
|
||||||
EngCreatePalette(ULONG Mode,
|
EngCreatePalette(ULONG Mode,
|
||||||
ULONG NumColors,
|
ULONG NumColors,
|
||||||
|
@ -74,6 +77,9 @@ EngCreatePalette(ULONG Mode,
|
||||||
return NewPalette;
|
return NewPalette;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngDeletePalette(IN HPALETTE Palette)
|
EngDeletePalette(IN HPALETTE Palette)
|
||||||
{
|
{
|
||||||
|
@ -81,6 +87,9 @@ EngDeletePalette(IN HPALETTE Palette)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
PALOBJ_cGetColors(PALOBJ *PalObj,
|
PALOBJ_cGetColors(PALOBJ *PalObj,
|
||||||
ULONG Start,
|
ULONG Start,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -31,6 +31,9 @@
|
||||||
#include <win32k/debug1.h>
|
#include <win32k/debug1.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngQueryPerformanceFrequency(LONGLONG *Frequency)
|
EngQueryPerformanceFrequency(LONGLONG *Frequency)
|
||||||
{
|
{
|
||||||
|
@ -40,6 +43,9 @@ EngQueryPerformanceFrequency(LONGLONG *Frequency)
|
||||||
*Frequency = Freq.QuadPart;
|
*Frequency = Freq.QuadPart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngQueryPerformanceCounter(LONGLONG *Count)
|
EngQueryPerformanceCounter(LONGLONG *Count)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -141,6 +141,9 @@ VOID FASTCALL InitializeFuncs(SURFGDI *SurfGDI, ULONG BitmapFormat)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
HBITMAP STDCALL
|
HBITMAP STDCALL
|
||||||
EngCreateDeviceBitmap(IN DHSURF dhsurf,
|
EngCreateDeviceBitmap(IN DHSURF dhsurf,
|
||||||
IN SIZEL Size,
|
IN SIZEL Size,
|
||||||
|
@ -156,6 +159,9 @@ EngCreateDeviceBitmap(IN DHSURF dhsurf,
|
||||||
return NewBitmap;
|
return NewBitmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
HBITMAP STDCALL
|
HBITMAP STDCALL
|
||||||
EngCreateBitmap(IN SIZEL Size,
|
EngCreateBitmap(IN SIZEL Size,
|
||||||
IN LONG Width,
|
IN LONG Width,
|
||||||
|
@ -214,6 +220,9 @@ EngCreateBitmap(IN SIZEL Size,
|
||||||
return NewBitmap;
|
return NewBitmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
HSURF STDCALL
|
HSURF STDCALL
|
||||||
EngCreateDeviceSurface(IN DHSURF dhsurf,
|
EngCreateDeviceSurface(IN DHSURF dhsurf,
|
||||||
IN SIZEL Size,
|
IN SIZEL Size,
|
||||||
|
@ -257,6 +266,9 @@ PFN FASTCALL DriverFunction(DRVENABLEDATA *DED, ULONG DriverFunc)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngAssociateSurface(IN HSURF Surface,
|
EngAssociateSurface(IN HSURF Surface,
|
||||||
IN HDEV Dev,
|
IN HDEV Dev,
|
||||||
|
@ -296,6 +308,9 @@ EngAssociateSurface(IN HSURF Surface,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngDeleteSurface(IN HSURF Surface)
|
EngDeleteSurface(IN HSURF Surface)
|
||||||
{
|
{
|
||||||
|
@ -303,6 +318,9 @@ EngDeleteSurface(IN HSURF Surface)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
EngEraseSurface(SURFOBJ *Surface,
|
EngEraseSurface(SURFOBJ *Surface,
|
||||||
RECTL *Rect,
|
RECTL *Rect,
|
||||||
|
@ -311,6 +329,9 @@ EngEraseSurface(SURFOBJ *Surface,
|
||||||
return FillSolid(Surface, Rect, iColor);
|
return FillSolid(Surface, Rect, iColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
SURFOBJ * STDCALL
|
SURFOBJ * STDCALL
|
||||||
EngLockSurface(IN HSURF Surface)
|
EngLockSurface(IN HSURF Surface)
|
||||||
{
|
{
|
||||||
|
@ -318,6 +339,9 @@ EngLockSurface(IN HSURF Surface)
|
||||||
return (SURFOBJ*)AccessUserObject((ULONG)Surface);
|
return (SURFOBJ*)AccessUserObject((ULONG)Surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
EngUnlockSurface(IN SURFOBJ *Surface)
|
EngUnlockSurface(IN SURFOBJ *Surface)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -356,6 +356,9 @@ VOID FASTCALL EngDeleteXlate(XLATEOBJ *XlateObj)
|
||||||
FreeGDIHandle((ULONG)HXlate);
|
FreeGDIHandle((ULONG)HXlate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
ULONG * STDCALL
|
ULONG * STDCALL
|
||||||
XLATEOBJ_piVector(XLATEOBJ *XlateObj)
|
XLATEOBJ_piVector(XLATEOBJ *XlateObj)
|
||||||
{
|
{
|
||||||
|
@ -369,6 +372,9 @@ XLATEOBJ_piVector(XLATEOBJ *XlateObj)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
XLATEOBJ_iXlate(XLATEOBJ *XlateObj,
|
XLATEOBJ_iXlate(XLATEOBJ *XlateObj,
|
||||||
ULONG Color)
|
ULONG Color)
|
||||||
|
@ -406,6 +412,9 @@ XLATEOBJ_iXlate(XLATEOBJ *XlateObj,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
XLATEOBJ_cGetPalette(XLATEOBJ *XlateObj,
|
XLATEOBJ_cGetPalette(XLATEOBJ *XlateObj,
|
||||||
ULONG PalOutType,
|
ULONG PalOutType,
|
||||||
|
|
|
@ -16,13 +16,16 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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/ntddk.h>
|
||||||
#include <ddk/winddi.h>
|
#include <ddk/winddi.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
HANDLE
|
HANDLE
|
||||||
STDCALL
|
STDCALL
|
||||||
EngLoadImage (LPWSTR DriverName)
|
EngLoadImage (LPWSTR DriverName)
|
||||||
|
@ -38,6 +41,9 @@ EngLoadImage (LPWSTR DriverName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
HANDLE
|
HANDLE
|
||||||
STDCALL
|
STDCALL
|
||||||
EngLoadModule(LPWSTR ModuleName)
|
EngLoadModule(LPWSTR ModuleName)
|
||||||
|
|
|
@ -237,7 +237,11 @@ int mod(int num, int denom)
|
||||||
return dvt.rem;
|
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 STDCALL EngMulDiv(
|
||||||
INT nMultiplicand,
|
INT nMultiplicand,
|
||||||
INT nMultiplier,
|
INT nMultiplier,
|
||||||
|
|
Loading…
Reference in a new issue