Author: fireball
Date: Mon Jul 21 16:00:16 2008
New Revision: 34646
URL:
http://svn.reactos.org/svn/reactos?rev=34646&view=rev
Log:
- Commit totally stubbed win32k by Stefan Ginsberg.
Added:
branches/nwin32/subsystems/win32/win32k/eng/ (with props)
branches/nwin32/subsystems/win32/win32k/eng/engblt.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engbrush.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engclip.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engdev.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engdrv.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engerror.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engevent.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engfile.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engfloat.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engfont.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engmem.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engmisc.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engpaint.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engpal.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engpath.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engpoint.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engprint.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engquery.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engrtl.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engsem.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engsurf.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engtext.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engwnd.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engxform.c (with props)
branches/nwin32/subsystems/win32/win32k/eng/engxlate.c (with props)
branches/nwin32/subsystems/win32/win32k/gre/ (with props)
branches/nwin32/subsystems/win32/win32k/gre/init.c (with props)
branches/nwin32/subsystems/win32/win32k/include/win32k.h (with props)
branches/nwin32/subsystems/win32/win32k/ntddraw/ (with props)
branches/nwin32/subsystems/win32/win32k/ntddraw/ddeng.c (with props)
branches/nwin32/subsystems/win32/win32k/ntgdi/ (with props)
branches/nwin32/subsystems/win32/win32k/ntuser/ (with props)
branches/nwin32/subsystems/win32/win32k/todo.c (with props)
Modified:
branches/nwin32/subsystems/win32/win32k/w32ksvc.db
branches/nwin32/subsystems/win32/win32k/win32k.def
branches/nwin32/subsystems/win32/win32k/win32k.rbuild
branches/nwin32/subsystems/win32/win32k/win32k.rc
Propchange: branches/nwin32/subsystems/win32/win32k/eng/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Jul 21 16:00:16 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/nwin32/subsystems/win32/win32k/eng/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/nwin32/subsystems/win32/win32k/eng/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/nwin32/subsystems/win32/win32k/eng/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: branches/nwin32/subsystems/win32/win32k/eng/engblt.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engblt.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engblt.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,119 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engblt.c
+ * PURPOSE: Bit-Block Transfer Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngAlphaBlend(IN SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN CLIPOBJ* ClipRegion,
+ IN XLATEOBJ* ColorTranslation,
+ IN PRECTL DestRect,
+ IN PRECTL SourceRect,
+ IN BLENDOBJ* BlendObj)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngBitBlt(SURFOBJ* DestSurf,
+ SURFOBJ* SourceSurf,
+ SURFOBJ* Mask,
+ CLIPOBJ* ClipRegion,
+ XLATEOBJ* ColorTranslation,
+ PRECTL DestRect,
+ PPOINTL SourcePoint,
+ PPOINTL MaskOrigin,
+ BRUSHOBJ* BrushObj,
+ PPOINTL BrushOrigin,
+ ROP4 Rop4)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngStretchBlt(IN SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN SURFOBJ* Mask,
+ IN CLIPOBJ* ClipRegion,
+ IN XLATEOBJ* ColorTranslation,
+ IN COLORADJUSTMENT* ColorAdjustment,
+ IN PPOINTL BrushOrigin,
+ IN PRECTL prclDest,
+ IN PRECTL prclSource,
+ IN PPOINTL MaskOrigin,
+ IN ULONG Mode)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngPlgBlt(
+ IN SURFOBJ *Dest,
+ IN SURFOBJ *Source,
+ IN SURFOBJ *Mask,
+ IN CLIPOBJ *Clip,
+ IN XLATEOBJ *Xlate,
+ IN COLORADJUSTMENT *ColorAdjustment,
+ IN POINTL *BrusOrigin,
+ IN POINTFIX *DestPoints,
+ IN RECTL *SourceRect,
+ IN POINTL *MaskPoint,
+ IN ULONG Mode)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngStretchBltROP(IN SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN SURFOBJ* Mask,
+ IN CLIPOBJ* ClipRegion,
+ IN XLATEOBJ* ColorTranslation,
+ IN COLORADJUSTMENT* ColorAdjustment,
+ IN PPOINTL BrushOrigin,
+ IN PRECTL DestRect,
+ IN PRECTL SourceRect,
+ IN PPOINTL MaskPoint,
+ IN ULONG Mode,
+ IN BRUSHOBJ* BrushObj,
+ IN DWORD Rop4)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngTransparentBlt(IN SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN CLIPOBJ* ClipRegion,
+ IN XLATEOBJ* ColorTranslation,
+ IN PRECTL prclDest,
+ IN PRECTL prclSource,
+ IN ULONG iTransColor,
+ IN ULONG ulReserved)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engblt.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engbrush.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engbrush.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engbrush.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,48 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engbrush.c
+ * PURPOSE: BRUSHOBJ Manipulation Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+HANDLE
+APIENTRY
+BRUSHOBJ_hGetColorTransform(IN BRUSHOBJ* BrushObj)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PVOID
+APIENTRY
+BRUSHOBJ_pvAllocRbrush(IN BRUSHOBJ* BrushObj,
+ IN ULONG ObjSize)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PVOID
+APIENTRY
+BRUSHOBJ_pvGetRbrush(IN BRUSHOBJ* BrushObj)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ULONG
+APIENTRY
+BRUSHOBJ_ulGetBrushColor(IN BRUSHOBJ* BrushObj)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engbrush.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engclip.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engclip.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engclip.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,60 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engclip.c
+ * PURPOSE: CLIPOBJ Manipulation Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+CLIPOBJ_bEnum(IN CLIPOBJ* ClipObj,
+ IN ULONG ObjSize,
+ OUT PULONG EnumRects)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONG
+APIENTRY
+CLIPOBJ_cEnumStart(IN CLIPOBJ* ClipObj,
+ IN BOOL DoAll,
+ IN ULONG ClipType,
+ IN ULONG BuildOrder,
+ IN ULONG MaxRects)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+PATHOBJ*
+APIENTRY
+CLIPOBJ_ppoGetPath(IN CLIPOBJ* ClipObj)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+CLIPOBJ*
+APIENTRY
+EngCreateClip(VOID)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngDeleteClip(CLIPOBJ* ClipObj)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engclip.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engdev.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engdev.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engdev.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,53 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engdev.c
+ * PURPOSE: Device Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+DWORD
+APIENTRY
+EngDeviceIoControl(
+ IN HANDLE hDevice,
+ IN DWORD dwIoControlCode,
+ IN PVOID lpInBuffer,
+ IN DWORD nInBufferSize,
+ IN OUT PVOID lpOutBuffer,
+ IN DWORD nOutBufferSize,
+ OUT PDWORD lpBytesReturned)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ULONG
+APIENTRY
+EngHangNotification(IN HDEV hDev,
+ IN PVOID Reserved)
+{
+ UNIMPLEMENTED;
+ return EHN_ERROR;
+}
+
+BOOL
+APIENTRY
+EngQueryDeviceAttribute(
+ IN HDEV hdev,
+ IN ENG_DEVICE_ATTRIBUTE devAttr,
+ IN VOID *pvIn,
+ IN ULONG ulInSize,
+ OUT VOID *pvOut,
+ OUT ULONG ulOutSize)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engdev.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engdrv.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engdrv.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engdrv.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,59 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engdrv.c
+ * PURPOSE: Driver Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+HDRVOBJ
+APIENTRY
+EngCreateDriverObj(PVOID pvObj,
+ FREEOBJPROC pFreeObjProc,
+ HDEV hdev)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngDeleteDriverObj(IN HDRVOBJ hdo,
+ IN BOOL bCallBack,
+ IN BOOL bLocked)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+PWSTR
+APIENTRY
+EngGetDriverName(IN HDEV hDev)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+DRIVEROBJ*
+APIENTRY
+EngLockDriverObj(IN HDRVOBJ hDriverObj)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngUnlockDriverObj(IN HDRVOBJ hDriverObj)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engdrv.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engerror.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engerror.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engerror.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,39 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engerror.c
+ * PURPOSE: Error Handling Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+VOID
+APIENTRY
+EngDebugPrint(IN PCHAR StandardPrefix,
+ IN PCHAR DebugMessage,
+ IN va_list ap)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngSetLastError(IN ULONG iError)
+{
+ UNIMPLEMENTED;
+}
+
+ULONG
+APIENTRY
+EngGetLastError(VOID)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engerror.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engevent.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engevent.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engevent.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,150 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engevent.c
+ * PURPOSE: Event Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngCreateEvent(OUT PEVENT* Event)
+{
+ /* Allocate memory for the event */
+ *Event = EngAllocMem(FL_NONPAGED_MEMORY,
+ sizeof(KEVENT),
+ 0);
+
+ /* Check if we are out of memory */
+ if (!*Event)
+ {
+ /* We are, fail */
+ return FALSE;
+ }
+
+ /* Initialize the event */
+ KeInitializeEvent((PKEVENT)*Event,
+ SynchronizationEvent,
+ FALSE);
+
+ /* Return success */
+ return TRUE;
+}
+
+BOOL
+APIENTRY
+EngDeleteEvent(IN PEVENT Event)
+{
+ /* Free the event */
+ EngFreeMem(Event);
+
+ /* Return success */
+ return TRUE;
+}
+
+VOID
+APIENTRY
+EngClearEvent(IN PEVENT Event)
+{
+ /* Clear the event */
+ KeClearEvent((PKEVENT)Event);
+}
+
+LONG
+APIENTRY
+EngSetEvent(IN PEVENT Event)
+{
+ /* Set the event */
+ return KeSetEvent((PKEVENT)Event,
+ IO_NO_INCREMENT,
+ FALSE);
+}
+
+LONG
+APIENTRY
+EngReadStateEvent(IN PEVENT Event)
+{
+ /* Read the event state */
+ return KeReadStateEvent((PKEVENT)Event);
+}
+
+PEVENT
+APIENTRY
+EngMapEvent(IN HDEV hDev,
+ IN HANDLE hUserObject,
+ IN PVOID Reserved1,
+ IN PVOID Reserved2,
+ IN PVOID Reserved3)
+{
+ PKEVENT Event;
+ NTSTATUS Status;
+
+ /* FIXME: Should we do anything with the reserved parameters? */
+
+ /* Reference the object */
+ Status = ObReferenceObjectByHandle(hUserObject,
+ EVENT_MODIFY_STATE,
+ ExEventObjectType,
+ KernelMode,
+ (PVOID*)&Event,
+ NULL);
+
+ /* Only do this if we succeed */
+ if (NT_SUCCESS(Status))
+ {
+ /* Pulse the event */
+ KePulseEvent(Event,
+ EVENT_INCREMENT,
+ FALSE);
+ }
+
+ /* Return the event body */
+ return (PEVENT)Event;
+}
+
+BOOL
+APIENTRY
+EngUnmapEvent(IN PEVENT Event)
+{
+ /* Dereference the event */
+ ObDereferenceObject(Event);
+
+ /* Return success */
+ return TRUE;
+}
+
+BOOL
+APIENTRY
+EngWaitForSingleObject(IN PEVENT Event,
+ IN PLARGE_INTEGER TimeOut)
+{
+ NTSTATUS Status;
+
+ /* Validate parameters */
+ if (!Event) return FALSE;
+
+ /* Wait for the event */
+ Status = KeWaitForSingleObject(Event,
+ Executive,
+ KernelMode,
+ FALSE,
+ TimeOut);
+
+ /* Check if we timed out */
+ if (Status != STATUS_SUCCESS)
+ {
+ /* We did, fail */
+ return FALSE;
+ }
+
+ /* Return success */
+ return TRUE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engevent.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engfile.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engfile.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engfile.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,165 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engfile.c
+ * PURPOSE: File Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngDeleteFile(IN PWSTR pwszFileName)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+NTSTATUS
+APIENTRY
+EngFileIoControl(IN PFILE_OBJECT FileObject,
+ IN ULONG IoControlCode,
+ IN PVOID InputBuffer,
+ IN SIZE_T InputBufferLength,
+ OUT PVOID OutputBuffer,
+ IN SIZE_T OutputBufferLength,
+ OUT PULONG Information)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngFileWrite(IN PFILE_OBJECT FileObject,
+ IN PVOID Buffer,
+ IN SIZE_T Length,
+ IN PSIZE_T BytesWritten)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngGetFileChangeTime(IN HANDLE hFile,
+ OUT PLARGE_INTEGER ChangeTime)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngGetFilePath(IN HANDLE hFile,
+ OUT WCHAR (*pDest)[MAX_PATH+1])
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+HANDLE
+APIENTRY
+EngLoadImage(IN PWSTR pwszDriver)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+HANDLE
+APIENTRY
+EngLoadModule(IN PWSTR pwszModule)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+HANDLE
+APIENTRY
+EngLoadModuleForWrite(IN PWSTR pwszModule,
+ IN ULONG cjSizeOfModule)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngFreeModule(IN HANDLE hModule)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngUnloadImage(IN HANDLE hModule)
+{
+ UNIMPLEMENTED;
+}
+
+PVOID
+APIENTRY
+EngMapFile(IN PWSTR pwsz,
+ IN ULONG cjSize,
+ OUT PULONG_PTR piFile)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngUnmapFile(IN ULONG_PTR iFile)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngMapFontFile(ULONG_PTR iFile,
+ PULONG* ppjBuf,
+ PULONG pcjBuf)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+VOID
+APIENTRY
+EngUnmapFontFile(ULONG_PTR iFile)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngMapFontFileFD(IN ULONG_PTR iFile,
+ OUT PULONG* ppjBuf,
+ OUT PULONG pcjBuf)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+PVOID
+APIENTRY
+EngMapModule(IN HANDLE hModule,
+ OUT PULONG Size)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngUnmapFontFileFD(IN ULONG_PTR iFile)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engfile.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engfloat.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engfloat.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engfloat.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,254 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engfloat.c
+ * PURPOSE: Floating Point Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+ULONG
+APIENTRY
+EngSaveFloatingPointState(OUT PVOID Buffer,
+ IN ULONG cjBufferSize)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+BOOL
+APIENTRY
+EngRestoreFloatingPointState(IN PVOID Buffer)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_Add (IN OUT PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_AddFloat(IN OUT PFLOATOBJ Float,
+ IN FLOATL fAddend)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_AddFloatObj(PFLOATOBJ Float1,
+ PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_AddLong(IN OUT PFLOATOBJ Float,
+ IN LONG lAddend)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_Div(IN OUT PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_DivFloat(IN OUT PFLOATOBJ Float,
+ IN FLOATL fDivisor)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_DivFloatObj(PFLOATOBJ Float1,
+ PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_DivLong(IN OUT PFLOATOBJ Float,
+ IN LONG lDivisor)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_Mul(IN OUT PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_MulFloat(IN OUT PFLOATOBJ Float1,
+ IN FLOATL fMultiplicand)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_MulFloatObj(PFLOATOBJ Float1,
+ PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_MulLong(IN OUT PFLOATOBJ Float,
+ IN LONG lMultiplicand)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_Sub(IN OUT PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SubFloat(IN OUT PFLOATOBJ Float,
+ IN FLOATL fSubtrahend)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SubFloatObj(PFLOATOBJ Float1,
+ PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SubLong(IN OUT PFLOATOBJ Float,
+ IN LONG lSubtrahend)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_Neg(IN OUT PFLOATOBJ Float)
+{
+ UNIMPLEMENTED;
+}
+
+LONG
+APIENTRY
+FLOATOBJ_GetFloat(IN PFLOATOBJ Float)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+LONG
+APIENTRY
+FLOATOBJ_GetLong(IN PFLOATOBJ Float)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SetFloat(OUT PFLOATOBJ Float,
+ IN FLOATL fAssignement)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SetLong(OUT PFLOATOBJ Float,
+ IN LONG lAssignment)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_Equal(IN PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_EqualLong(IN PFLOATOBJ Float,
+ IN LONG lCompare)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_GreaterThan(IN PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_GreaterThanLong(IN PFLOATOBJ Float,
+ IN LONG lCompare)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_LessThan(IN PFLOATOBJ Float1,
+ IN PFLOATOBJ Float2)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+FLOATOBJ_LessThanLong(IN PFLOATOBJ Float,
+ IN LONG lCompare)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engfloat.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engfont.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engfont.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engfont.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,157 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engfont.c
+ * PURPOSE: Font Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+FD_GLYPHSET*
+APIENTRY
+EngComputeGlyphSet(IN INT nCodePage,
+ IN INT nFirstChar,
+ IN INT cChars)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PVOID
+APIENTRY
+EngFntCacheAlloc(IN ULONG FastCheckSum,
+ IN ULONG ulSize)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngFntCacheFault(IN ULONG ulFastCheckSum,
+ IN ULONG iFaultMode)
+{
+ UNIMPLEMENTED;
+}
+
+PVOID
+APIENTRY
+EngFntCacheLookUp(IN ULONG FastCheckSum,
+ OUT PULONG pulSize)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngGetType1FontList(
+ IN HDEV hdev,
+ OUT TYPE1_FONT *pType1Buffer,
+ IN ULONG cjType1Buffer,
+ OUT PULONG pulLocalFonts,
+ OUT PULONG pulRemoteFonts,
+ OUT LARGE_INTEGER *pLastModified)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONG
+APIENTRY
+FONTOBJ_cGetAllGlyphHandles(
+ IN FONTOBJ *pfo,
+ OUT HGLYPH *phg)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ULONG
+APIENTRY
+FONTOBJ_cGetGlyphs(IN FONTOBJ *pfo,
+ IN ULONG iMode,
+ IN ULONG cGlyph,
+ IN HGLYPH *phg,
+ OUT PVOID *ppvGlyph)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+FD_GLYPHSET*
+APIENTRY
+FONTOBJ_pfdg(IN FONTOBJ *pfo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+IFIMETRICS*
+APIENTRY
+FONTOBJ_pifi(IN FONTOBJ *pfo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PBYTE
+APIENTRY
+FONTOBJ_pjOpenTypeTablePointer(IN FONTOBJ *pfo,
+ IN ULONG ulTag,
+ OUT ULONG *pcjTable)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PFD_GLYPHATTR
+APIENTRY
+FONTOBJ_pQueryGlyphAttrs(IN FONTOBJ *pfo,
+ IN ULONG iMode)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PVOID
+APIENTRY
+FONTOBJ_pvTrueTypeFontFile(IN FONTOBJ *pfo,
+ OUT ULONG *pcjFile)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+LPWSTR
+APIENTRY
+FONTOBJ_pwszFontFilePaths(IN FONTOBJ *pfo,
+ OUT ULONG *pcwc)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+XFORMOBJ*
+APIENTRY
+FONTOBJ_pxoGetXform(IN FONTOBJ *pfo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+FONTOBJ_vGetInfo(IN FONTOBJ *pfo,
+ IN ULONG cjSize,
+ OUT FONTINFO *pfi)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engfont.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engmem.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engmem.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engmem.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,119 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engmem.c
+ * PURPOSE: Memory Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+PVOID
+APIENTRY
+EngAllocMem(IN ULONG Flags,
+ IN ULONG MemSize,
+ IN ULONG Tag)
+{
+ PVOID AllocatedMemory;
+ POOL_TYPE AllocationType;
+
+ /* Get the requested pool type */
+ AllocationType = (Flags & FL_NONPAGED_MEMORY) ? NonPagedPool : PagedPool;
+
+ /* Allocate the memory */
+ AllocatedMemory = ExAllocatePoolWithTag(AllocationType,
+ MemSize,
+ Tag);
+
+ /* Zero initialize the memory if requested */
+ if (Flags & FL_ZERO_MEMORY && AllocatedMemory)
+ {
+ /* Zero it out */
+ RtlZeroMemory(AllocatedMemory,
+ MemSize);
+ }
+
+ /* Return the allocated memory */
+ return AllocatedMemory;
+}
+
+VOID
+APIENTRY
+EngFreeMem(IN PVOID Memory)
+{
+ /* Free the memory */
+ ExFreePool(Memory);
+}
+
+PVOID
+APIENTRY
+EngAllocUserMem(IN SIZE_T cjSize,
+ IN ULONG Tag)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngFreeUserMem(IN PVOID UserMemory)
+{
+ UNIMPLEMENTED;
+}
+
+PVOID
+APIENTRY
+EngAllocSectionMem(IN PVOID SectionObject,
+ IN ULONG Flags,
+ IN SIZE_T MemSize,
+ IN ULONG Tag)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOLEAN
+APIENTRY
+EngFreeSectionMem(IN PVOID SectionObject OPTIONAL,
+ IN PVOID MappedBase)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+HANDLE
+APIENTRY
+EngSecureMem(IN PVOID Address,
+ IN ULONG Length)
+{
+ /* Secure the memory area for read & write access */
+ return MmSecureVirtualMemory(Address,
+ Length,
+ PAGE_READWRITE);
+}
+
+VOID
+APIENTRY
+EngUnsecureMem(IN HANDLE hSecure)
+{
+ /* Unsecure the memory area */
+ MmUnsecureVirtualMemory((PVOID)hSecure);
+}
+
+
+BOOLEAN
+APIENTRY
+EngMapSection(IN PVOID SectionObject,
+ IN BOOLEAN Map,
+ IN HANDLE Process,
+ IN PVOID* BaseAddress)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engmem.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engmisc.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engmisc.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engmisc.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,96 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engmisc.c
+ * PURPOSE: Miscellaneous Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+VOID
+APIENTRY
+EngSort(IN OUT PBYTE Buffer,
+ IN ULONG ElemSize,
+ IN ULONG ElemCount,
+ IN SORTCOMP CompFunc)
+{
+ /* Forward to the CRT */
+ qsort(Buffer, ElemCount, ElemSize, CompFunc);
+}
+
+PVOID
+APIENTRY
+EngFindImageProcAddress(IN HANDLE hModule,
+ IN PSTR ProcName)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+PVOID
+APIENTRY
+EngFindResource(IN HANDLE hModule,
+ IN INT iName,
+ IN INT iType,
+ OUT PULONG pulSize)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngLpkInstalled(VOID)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+INT
+APIENTRY
+EngMulDiv(IN INT a,
+ IN INT b,
+ IN INT c)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+HANDLE
+APIENTRY
+EngGetCurrentProcessId(VOID)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+HANDLE
+APIENTRY
+EngGetCurrentThreadId(VOID)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+HANDLE
+APIENTRY
+EngGetProcessHandle(VOID)
+{
+ /* Deprecated */
+ return NULL;
+}
+
+ULONGLONG
+APIENTRY
+EngGetTickCount(VOID)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engmisc.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engpaint.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engpaint.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engpaint.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,61 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engpaint.c
+ * PURPOSE: Miscellaneous Painting Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngGradientFill(
+ IN SURFOBJ *psoDest,
+ IN CLIPOBJ *pco,
+ IN XLATEOBJ *pxlo,
+ IN TRIVERTEX *pVertex,
+ IN ULONG nVertex,
+ IN PVOID pMesh,
+ IN ULONG nMesh,
+ IN RECTL *prclExtents,
+ IN POINTL *pptlDitherOrg,
+ IN ULONG ulMode)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngPaint(IN SURFOBJ *pso,
+ IN CLIPOBJ *pco,
+ IN BRUSHOBJ *pbo,
+ IN POINTL *pptlBrushOrg,
+ IN MIX mix)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOLEAN
+APIENTRY
+EngNineGrid(IN SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN CLIPOBJ* ClipObj,
+ IN XLATEOBJ* XlateObj,
+ IN RECTL* prclSource,
+ IN RECTL* prclDest,
+ PVOID pvUnknown1,
+ PVOID pvUnknown2,
+ DWORD dwReserved)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engpaint.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engpal.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engpal.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engpal.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,113 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engpal.c
+ * PURPOSE: Path Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+HPALETTE
+APIENTRY
+EngCreatePalette(
+ IN ULONG iMode,
+ IN ULONG cColors,
+ IN ULONG *pulColors,
+ IN FLONG flRed,
+ IN FLONG flGreen,
+ IN FLONG flBlue)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngDeletePalette(IN HPALETTE hpal)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONG
+APIENTRY
+EngQueryPalette(
+ IN HPALETTE hPal,
+ OUT ULONG *piMode,
+ IN ULONG cColors,
+ OUT ULONG *pulColors)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ULONG
+APIENTRY
+EngDitherColor(
+ IN HDEV hdev,
+ IN ULONG iMode,
+ IN ULONG rgb,
+ OUT PULONG pul)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+LONG
+APIENTRY
+HT_ComputeRGBGammaTable(
+ IN USHORT GammaTableEntries,
+ IN USHORT GammaTableType,
+ IN USHORT RedGamma,
+ IN USHORT GreenGamma,
+ IN USHORT BlueGamma,
+ OUT LPBYTE pGammaTable)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+LONG
+APIENTRY
+HT_Get8BPPFormatPalette(
+ OUT LPPALETTEENTRY pPaletteEntry,
+ IN USHORT RedGamma,
+ IN USHORT GreenGamma,
+ IN USHORT BlueGamma)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+LONG
+APIENTRY
+HT_Get8BPPMaskPalette(
+ IN OUT LPPALETTEENTRY pPaletteEntry,
+ IN BOOL Use8BPPMaskPal,
+ IN BYTE CMYMask,
+ IN USHORT RedGamma,
+ IN USHORT GreenGamma,
+ IN USHORT BlueGamma)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ULONG
+APIENTRY
+PALOBJ_cGetColors(
+ IN PALOBJ *ppalo,
+ IN ULONG iStart,
+ IN ULONG cColors,
+ OUT ULONG *pulColors)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engpal.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engpath.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engpath.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engpath.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,177 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engpath.c
+ * PURPOSE: Path Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+PATHOBJ*
+APIENTRY
+EngCreatePath(VOID)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngDeletePath(IN PATHOBJ *ppo)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngFillPath(
+ IN SURFOBJ *pso,
+ IN PATHOBJ *ppo,
+ IN CLIPOBJ *pco,
+ IN BRUSHOBJ *pbo,
+ IN POINTL *pptlBrushOrg,
+ IN MIX mix,
+ IN FLONG flOptions)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngStrokeAndFillPath(
+ IN SURFOBJ *pso,
+ IN PATHOBJ *ppo,
+ IN CLIPOBJ *pco,
+ IN XFORMOBJ *pxo,
+ IN BRUSHOBJ *pboStroke,
+ IN LINEATTRS *plineattrs,
+ IN BRUSHOBJ *pboFill,
+ IN POINTL *pptlBrushOrg,
+ IN MIX mixFill,
+ IN FLONG flOptions)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngStrokePath(
+ IN SURFOBJ *pso,
+ IN PATHOBJ *ppo,
+ IN CLIPOBJ *pco,
+ IN XFORMOBJ *pxo,
+ IN BRUSHOBJ *pbo,
+ IN POINTL *pptlBrushOrg,
+ IN LINEATTRS *plineattrs,
+ IN MIX mix)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngLineTo(
+ SURFOBJ *pso,
+ CLIPOBJ *pco,
+ BRUSHOBJ *pbo,
+ LONG x1,
+ LONG y1,
+ LONG x2,
+ LONG y2,
+ RECTL *prclBounds,
+ MIX mix)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bCloseFigure(IN PATHOBJ *ppo)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bEnum(IN PATHOBJ *ppo,
+ OUT PATHDATA *ppd)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bEnumClipLines(IN PATHOBJ *ppo,
+ IN ULONG cb,
+ OUT CLIPLINE *pcl)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bMoveTo(IN PATHOBJ *ppo,
+ IN POINTFIX ptfx)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bPolyBezierTo(IN PATHOBJ *ppo,
+ IN POINTFIX *pptfx,
+ IN ULONG cptfx)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+PATHOBJ_bPolyLineTo(IN PATHOBJ *ppo,
+ IN POINTFIX *pptfx,
+ IN ULONG cptfx)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+VOID
+APIENTRY
+PATHOBJ_vEnumStart(IN PATHOBJ *ppo)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+PATHOBJ_vEnumStartClipLines(IN PATHOBJ *ppo,
+ IN CLIPOBJ *pco,
+ IN SURFOBJ *pso,
+ IN LINEATTRS *pla)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+PATHOBJ_vGetBounds(IN PATHOBJ *ppo,
+ OUT PRECTFX prectfx)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engpath.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engpoint.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engpoint.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engpoint.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,57 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engpoint.c
+ * PURPOSE: Pointer Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+VOID
+APIENTRY
+EngMovePointer(
+ IN SURFOBJ *pso,
+ IN LONG x,
+ IN LONG y,
+ IN RECTL *prcl)
+{
+ UNIMPLEMENTED;
+}
+
+ULONG
+APIENTRY
+EngSetPointerShape(
+ IN SURFOBJ *pso,
+ IN SURFOBJ *psoMask,
+ IN SURFOBJ *psoColor,
+ IN XLATEOBJ *pxlo,
+ IN LONG xHot,
+ IN LONG yHot,
+ IN LONG x,
+ IN LONG y,
+ IN RECTL *prcl,
+ IN FLONG fl)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+BOOL
+APIENTRY
+EngSetPointerTag(
+ IN HDEV hdev,
+ IN SURFOBJ *psoMask,
+ IN SURFOBJ *psoColor,
+ IN XLATEOBJ *pxlo,
+ IN FLONG fl)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engpoint.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engprint.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engprint.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engprint.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,131 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engprint.c
+ * PURPOSE: Printing Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngCheckAbort(IN SURFOBJ* Surface)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngEnumForms(
+ IN HANDLE hPrinter,
+ IN DWORD Level,
+ OUT LPBYTE pForm,
+ IN DWORD cbBuf,
+ OUT LPDWORD pcbNeeded,
+ OUT LPDWORD pcReturned)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngGetForm(
+ IN HANDLE hPrinter,
+ IN LPWSTR pFormName,
+ IN DWORD Level,
+ OUT LPBYTE pForm,
+ IN DWORD cbBuf,
+ OUT LPDWORD pcbNeeded)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngGetPrinter(
+ IN HANDLE hPrinter,
+ IN DWORD dwLevel,
+ OUT PBYTE pPrinter,
+ IN DWORD cbBuf,
+ OUT PDWORD pcbNeeded)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+DWORD
+APIENTRY
+EngGetPrinterData(
+ IN HANDLE hPrinter,
+ IN PWSTR pValueName,
+ OUT PDWORD pType,
+ OUT PBYTE pData,
+ IN DWORD nSize,
+ OUT PDWORD pcbNeeded)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+APIENTRY
+EngSetPrinterData(
+ IN HANDLE hPrinter,
+ IN LPWSTR pType,
+ IN DWORD dwType,
+ IN LPBYTE lpbPrinterData,
+ IN DWORD cjPrinterData)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+PWSTR
+APIENTRY
+EngGetPrinterDataFileName(IN HDEV hDev)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngGetPrinterDriver(IN HANDLE hPrinter,
+ IN PWSTR pEnvironment,
+ IN DWORD dwLevel,
+ OUT BYTE *lpbDrvInfo,
+ IN DWORD cbBuf,
+ OUT DWORD *pcbNeeded)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngMarkBandingSurface(IN HSURF hSurface)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngWritePrinter(IN HANDLE hPrinter,
+ IN PVOID pBuf,
+ IN DWORD cbBuf,
+ OUT PDWORD pcWritten)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engprint.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engquery.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engquery.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engquery.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,45 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engquery.c
+ * PURPOSE: Miscellaneous Query Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+VOID
+APIENTRY
+EngQueryLocalTime(OUT PENG_TIME_FIELDS ptf)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngQueryPerformanceCounter(OUT PLONGLONG PerformanceCount)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngQueryPerformanceFrequency(OUT PLONGLONG Frequency)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngQuerySystemAttribute(IN ENG_SYSTEM_ATTRIBUTE CapNum,
+ OUT PDWORD Capability)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engquery.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engrtl.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engrtl.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engrtl.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,81 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engrtl.c
+ * PURPOSE: Rtl Wrapper Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+VOID
+APIENTRY
+EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
+ OUT PUSHORT AnsiCodePage)
+{
+ /* Call Rtl */
+ return RtlGetDefaultCodePage(AnsiCodePage, OemCodePage);
+}
+
+VOID
+APIENTRY
+EngMultiByteToUnicodeN(
+ OUT LPWSTR UnicodeString,
+ IN ULONG MaxBytesInUnicodeString,
+ OUT PULONG BytesInUnicodeString,
+ IN PCHAR MultiByteString,
+ IN ULONG BytesInMultiByteString)
+{
+ /* Call Rtl */
+ RtlMultiByteToUnicodeN(UnicodeString,
+ MaxBytesInUnicodeString,
+ BytesInUnicodeString,
+ MultiByteString,
+ BytesInMultiByteString);
+}
+
+VOID
+APIENTRY
+EngUnicodeToMultiByteN(OUT PCHAR MultiByteString,
+ IN ULONG MaxBytesInMultiByteString,
+ OUT PULONG BytesInMultiByteString,
+ IN PWSTR UnicodeString,
+ IN ULONG BytesInUnicodeString)
+{
+ /* Call Rtl */
+ RtlUnicodeToMultiByteN(MultiByteString,
+ MaxBytesInMultiByteString,
+ BytesInMultiByteString,
+ UnicodeString,
+ BytesInUnicodeString);
+}
+
+INT
+APIENTRY
+EngMultiByteToWideChar(IN UINT CodePage,
+ OUT PWSTR WideCharString,
+ IN INT BytesInWideCharString,
+ IN PSTR MultiByteString,
+ IN INT BytesInMultiByteString)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+INT
+APIENTRY
+EngWideCharToMultiByte(IN UINT CodePage,
+ IN PWSTR WideCharString,
+ IN INT BytesInWideCharString,
+ OUT PSTR MultiByteString,
+ IN INT BytesInMultiByteString)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engrtl.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engsem.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engsem.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engsem.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,75 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engsem.c
+ * PURPOSE: Semaphore Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+HSEMAPHORE
+APIENTRY
+EngCreateSemaphore(VOID)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VOID
+APIENTRY
+EngDeleteSemaphore(IN HSEMAPHORE hSem)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngInitializeSafeSemaphore(OUT ENGSAFESEMAPHORE* Semaphore)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+VOID
+APIENTRY
+EngDeleteSafeSemaphore(IN OUT ENGSAFESEMAPHORE* Semaphore)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngAcquireSemaphore(IN HSEMAPHORE hSem)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+EngReleaseSemaphore(IN HSEMAPHORE hSem)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngIsSemaphoreOwned(IN HSEMAPHORE hSem)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngIsSemaphoreOwnedByCurrentThread(IN HSEMAPHORE hSem)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engsem.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engsurf.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engsurf.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engsurf.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,118 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engsurf.c
+ * PURPOSE: Surface and Bitmap Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+HBITMAP
+APIENTRY
+EngCreateBitmap(IN SIZEL Size,
+ IN LONG Width,
+ IN ULONG Format,
+ IN ULONG Flags,
+ IN PVOID Bits)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngCopyBits(OUT SURFOBJ* DestSurf,
+ IN SURFOBJ* SourceSurf,
+ IN CLIPOBJ* ClipRegion,
+ IN XLATEOBJ* ColorTranslation,
+ IN PRECTL prclDest,
+ IN PPOINTL pptlSrc)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+HBITMAP
+APIENTRY
+EngCreateDeviceBitmap(IN DHSURF dhSurf,
+ IN SIZEL Size,
+ IN ULONG Format)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+HSURF
+APIENTRY
+EngCreateDeviceSurface(IN DHSURF dhSurf,
+ IN SIZEL Size,
+ IN ULONG Format)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngDeleteSurface(IN HSURF hSurf)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+SURFOBJ*
+APIENTRY
+EngLockSurface(IN HSURF hSurf)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngUnlockSurface(IN SURFOBJ* Surface)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+EngAssociateSurface(IN HSURF hSurf,
+ IN HDEV hDev,
+ IN FLONG flHooks)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngEraseSurface(IN SURFOBJ* Surface,
+ IN PRECTL prcl,
+ IN ULONG iColor)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+EngModifySurface(IN HSURF hSurf,
+ IN HDEV hDev,
+ IN FLONG flHooks,
+ IN FLONG flSurface,
+ IN DHSURF dhSurf,
+ IN PVOID pvScan0,
+ IN LONG lDelta,
+ IN PVOID pvReserved)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engsurf.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engtext.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engtext.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engtext.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,94 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engtext.c
+ * PURPOSE: Text Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngTextOut(IN SURFOBJ* Surface,
+ IN STROBJ* StringObj,
+ IN FONTOBJ* FontObj,
+ IN CLIPOBJ* ClipRegion,
+ IN PRECTL prclExtra,
+ IN PRECTL prclOpaque,
+ IN BRUSHOBJ* ForegroundBrush,
+ IN BRUSHOBJ* OpaqueBrush,
+ IN PPOINTL BrushOrigin,
+ IN MIX Mix)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+STROBJ_bEnum(IN STROBJ* StringObj,
+ OUT PULONG cGlyphpos,
+ OUT PGLYPHPOS* Glyphpos)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+STROBJ_bEnumPositionsOnly(IN STROBJ* StringObj,
+ OUT PULONG cGlyphpos,
+ OUT PGLYPHPOS* Glyphpos)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+APIENTRY
+STROBJ_bGetAdvanceWidths(IN STROBJ* StringObj,
+ IN ULONG iFirst,
+ IN ULONG cCharacters,
+ OUT POINTQF* pptqD)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+DWORD
+APIENTRY
+STROBJ_dwGetCodePage(IN STROBJ* StringObj)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+FIX
+APIENTRY
+STROBJ_fxBreakExtra(IN STROBJ* StringObj)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+FIX
+APIENTRY
+STROBJ_fxCharacterExtra(IN STROBJ* StringObj)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VOID
+APIENTRY
+STROBJ_vEnumStart(IN STROBJ* StringObj)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engtext.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engwnd.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engwnd.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engwnd.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,72 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engwnd.c
+ * PURPOSE: WNDOBJ Manipulation Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+EngControlSprites(IN WNDOBJ* WindowObj,
+ IN FLONG Flags)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+WNDOBJ*
+APIENTRY
+EngCreateWnd(SURFOBJ *pso,
+ HWND hwnd,
+ WNDOBJCHANGEPROC pfn,
+ FLONG fl,
+ INT iPixelFormat)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngDeleteWnd(IN WNDOBJ *pwo)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+APIENTRY
+WNDOBJ_bEnum(IN WNDOBJ* WindowObj,
+ IN ULONG BufferSize,
+ OUT PULONG Buffer)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONG
+APIENTRY
+WNDOBJ_cEnumStart(IN WNDOBJ* WindowObj,
+ IN ULONG iType,
+ IN ULONG iDirection,
+ IN ULONG cLimit)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VOID
+APIENTRY
+WNDOBJ_vSetConsumer(IN WNDOBJ* WindowObj,
+ IN PVOID pvConsumer)
+{
+ UNIMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engwnd.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engxform.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engxform.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engxform.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,48 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engxform.c
+ * PURPOSE: XFORMOBJ Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+BOOL
+APIENTRY
+XFORMOBJ_bApplyXform(
+ IN XFORMOBJ *pxo,
+ IN ULONG iMode,
+ IN ULONG cPoints,
+ IN PVOID pvIn,
+ OUT PVOID pvOut)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONG
+APIENTRY
+XFORMOBJ_iGetFloatObjXform(
+ IN XFORMOBJ *pxo,
+ OUT FLOATOBJ_XFORM *pxfo)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ULONG
+APIENTRY
+XFORMOBJ_iGetXform(
+ IN XFORMOBJ *pxo,
+ OUT XFORML *pxform)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engxform.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/eng/engxlate.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/eng/engxlate.c (added)
+++ branches/nwin32/subsystems/win32/win32k/eng/engxlate.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,54 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/eng/engxlate.c
+ * PURPOSE: XLATEOBJ Support Routines
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+ULONG
+APIENTRY
+XLATEOBJ_cGetPalette(
+ IN XLATEOBJ *pxlo,
+ IN ULONG iPal,
+ IN ULONG cPal,
+ OUT ULONG *pPal)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+HANDLE
+APIENTRY
+XLATEOBJ_hGetColorTransform(
+ IN XLATEOBJ *pxlo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ULONG
+APIENTRY
+XLATEOBJ_iXlate(
+ IN XLATEOBJ *pxlo,
+ IN ULONG iColor)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+PULONG
+APIENTRY
+XLATEOBJ_piVector(IN XLATEOBJ* XlateObj)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/eng/engxlate.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/nwin32/subsystems/win32/win32k/gre/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Jul 21 16:00:16 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/nwin32/subsystems/win32/win32k/gre/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/nwin32/subsystems/win32/win32k/gre/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/nwin32/subsystems/win32/win32k/gre/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: branches/nwin32/subsystems/win32/win32k/gre/init.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/gre/init.c (added)
+++ branches/nwin32/subsystems/win32/win32k/gre/init.c [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,0 +1,24 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/gre/init.c
+ * PURPOSE: Driver Initialization
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* DRIVER ENTRYPOINT *********************************************************/
+
+NTSTATUS
+NTAPI
+DriverEntry(IN PDRIVER_OBJECT DriverObject,
+ PUNICODE_STRING RegistryPath)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/gre/init.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/nwin32/subsystems/win32/win32k/include/win32k.h
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/include/win32k.h (added)
+++ branches/nwin32/subsystems/win32/win32k/include/win32k.h [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,112 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS Win32K
+ * FILE: subsystems/win32/win32k/include/win32k.h
+ * PURPOSE: Main Win32K Header
+ * PROGRAMMER: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+/* Version Data */
+#undef __MSVCRT__
+#include <psdk/ntverp.h>
+#define _WIN32_WINNT _WIN32_WINNT_WS03
+#define NTDDI_VERSION NTDDI_WS03SP1
+#define WINVER 0x600
+
+#define _NO_COM
+
+/* DDK/NDK/SDK Headers */
+#include <ddk/ntddk.h>
+#include <ddk/ntddmou.h>
+#include <ddk/ntifs.h>
+#include <ddk/tvout.h>
+#include <ndk/ntndk.h>
+
+/* Win32 Headers */
+/* FIXME: Defines in winbase.h that we need... */
+typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
+#define WINBASEAPI
+#define STARTF_USESIZE 2
+#define STARTF_USEPOSITION 4
+#include <stdarg.h>
+#include <stdlib.h>
+#include <windef.h>
+#include <winerror.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <winuser.h>
+#include <prntfont.h>
+#include <dde.h>
+#include <wincon.h>
+#define _NOCSECT_TYPE
+#include <ddrawi.h>
+
+/* SEH Support with PSEH */
+#include <pseh/pseh.h>
+
+/* CSRSS Header */
+#include <csrss/csrss.h>
+
+/* Helper Header */
+#include <reactos/helper.h>
+
+/* Probe and capture */
+#include <reactos/probe.h>
+
+/* Public Win32K Headers */
+#include <win32k/callback.h>
+#include <win32k/ntusrtyp.h>
+#include <win32k/ntuser.h>
+#include <win32k/ntgdityp.h>
+#include <ntgdi.h>
+
+
+
+#if 0
+/* DDK/NDK/SDK Headers */
+#include <ddk/ntddk.h>
+#include <ddk/ntddmou.h>
+#include <ddk/ntifs.h>
+#include <ddk/tvout.h>
+#include <ndk/ntndk.h>
+
+/* Win32 Headers */
+/* FIXME: Defines in winbase.h that we need... */
+typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
+#define WINBASEAPI
+#define STARTF_USESIZE 2
+#define STARTF_USEPOSITION 4
+#include <stdarg.h>
+#include <windef.h>
+#include <winerror.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <winuser.h>
+#include <prntfont.h>
+#include <dde.h>
+#include <wincon.h>
+#define _NOCSECT_TYPE
+#include <ddrawi.h>
+
+/* SEH Support with PSEH */
+#include <pseh/pseh.h>
+
+/* CSRSS Header */
+#include <csrss/csrss.h>
+
+/* Helper Header */
+#include <reactos/helper.h>
+
+/* Probe and capture */
+#include <reactos/probe.h>
+
+/* Public Win32K Headers */
+#include <win32k/callback.h>
+#include <win32k/ntusrtyp.h>
+#include <win32k/ntuser.h>
+#include <win32k/ntgdityp.h>
+#include <win32k/ntgdibad.h>
+#include <ntgdi.h>
+#endif
Propchange: branches/nwin32/subsystems/win32/win32k/include/win32k.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/nwin32/subsystems/win32/win32k/ntddraw/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Jul 21 16:00:16 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/nwin32/subsystems/win32/win32k/ntddraw/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/nwin32/subsystems/win32/win32k/ntddraw/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/nwin32/subsystems/win32/win32k/ntddraw/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: branches/nwin32/subsystems/win32/win32k/ntddraw/ddeng.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/ntddraw/ddeng.c (added)
+++ branches/nwin32/subsystems/win32/win32k/ntddraw/ddeng.c [iso-8859-1] Mon Jul 21
16:00:16 2008
@@ -1,0 +1,79 @@
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/ntddraw/ddeng.c
+ * PURPOSE: Support Routines for DirectDraw
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <win32k.h>
+#define NDEBUG
+#include <debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+FLATPTR
+APIENTRY
+HeapVidMemAllocAligned(LPVIDMEM lpVidMem,
+ DWORD dwWidth,
+ DWORD dwHeight,
+ LPSURFACEALIGNMENT lpAlignment,
+ LPLONG lpNewPitch)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+VOID
+APIENTRY
+VidMemFree(LPVMEMHEAP pvmh,
+ FLATPTR ptr)
+{
+ UNIMPLEMENTED;
+}
+
+PVOID
+APIENTRY
+EngAllocPrivateUserMem(PDD_SURFACE_LOCAL psl,
+ SIZE_T cj,
+ ULONG tag)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+VOID
+APIENTRY
+EngFreePrivateUserMem(PDD_SURFACE_LOCAL psl,
+ PVOID pv)
+{
+ UNIMPLEMENTED;
+}
+
+DWORD
+APIENTRY
+EngDxIoctl(ULONG ulIoctl,
+ PVOID pBuffer,
+ ULONG ulBufferSize)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+PDD_SURFACE_LOCAL
+APIENTRY
+EngLockDirectDrawSurface(HANDLE hSurface)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+APIENTRY
+EngUnlockDirectDrawSurface(PDD_SURFACE_LOCAL pSurface)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Propchange: branches/nwin32/subsystems/win32/win32k/ntddraw/ddeng.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/nwin32/subsystems/win32/win32k/ntgdi/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Jul 21 16:00:16 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/nwin32/subsystems/win32/win32k/ntgdi/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/nwin32/subsystems/win32/win32k/ntgdi/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/nwin32/subsystems/win32/win32k/ntgdi/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Propchange: branches/nwin32/subsystems/win32/win32k/ntuser/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Jul 21 16:00:16 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/nwin32/subsystems/win32/win32k/ntuser/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/nwin32/subsystems/win32/win32k/ntuser/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/nwin32/subsystems/win32/win32k/ntuser/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: branches/nwin32/subsystems/win32/win32k/todo.c
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/todo.c (added)
+++ branches/nwin32/subsystems/win32/win32k/todo.c [iso-8859-1] Mon Jul 21 16:00:16 2008
@@ -1,0 +1,34 @@
+Initialization -- Needs a total review for NT compatibility
+ -DriverEntry
+ - We are loaded once per session by smss.
+ - What functions does smss use to load us? When is DriverEntry actually called?
+ -What should DriverEntry do, and what should NtGdiInit and NtUserInitialize do?
+ -NtGdiInit
+ - When are we called and what should we do?
+ -NtUserInitialize
+ - Find out parameters and what we should do here.
+
+System calls:
+ -NtGdi compatible with 2003. Missing parameters only for NtGdiGetSpoolMessage.
+ - Add stubs in /ntgdi/
+ -NtUser: Functions need to be researched for parameters.
+ We miss quite a few and I guess the functions which are compatible in
name/parameter numbers may have ros-specific params.
+ In short, a lot of research and review is needed.
+
+
+gdi32 and user32
+ - Need to be fixed not to use ros-specific system calls.
+ - gdi32 is the easiest. Much is done but #if 0-ed due to remaining problems.
+ - user32 needs a big overview (*cough*, rewrite, *cough*) and fixup. *Requires more
NtUser syscall documentation.*
+
+
+Interaction with display drivers
+ - Videoprt needs cleanup (rewriteeeeeeeee) and review. I have begun some major cleanup,
but not done yet (mostly code style and unfscking).
+
+Interaction with csrss and friends
+ - ...
+
+
+
+NOTE
+ The module is named "nwin32k" as to not conflict with win32k during build.
Propchange: branches/nwin32/subsystems/win32/win32k/todo.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: branches/nwin32/subsystems/win32/win32k/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/w32ksvc.db [iso-8859-1] (original)
+++ branches/nwin32/subsystems/win32/win32k/w32ksvc.db [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,7 +1,3 @@
-# NAME ARG_COUNT
-#
-# Funcs order should match Windows XP 5.1.2600 SP2
-#
NtGdiAbortDoc 1
NtGdiAbortPath 1
NtGdiAddFontResourceW 6
@@ -152,7 +148,6 @@
NtGdiFillPath 1
NtGdiFillRgn 3
NtGdiFlattenPath 1
-NtGdiFlushUserBatch 0
NtGdiFlush 0
NtGdiForceUFIMapping 2
NtGdiFrameRgn 5
@@ -671,35 +666,5 @@
NtGdiBRUSHOBJ_DeleteRbrush 2
NtGdiUMPDEngFreeUserMem 1
NtGdiDrawStream 3
-#
-#
-#ReactOS specific syscalls
-NtGdiSetDIBits 7
-NtGdiSetViewportExtEx 4
-NtGdiSetViewportOrgEx 4
-NtGdiSetWindowExtEx 4
-NtGdiSetWindowOrgEx 4
-NtGdiGetFontFamilyInfo 4
-NtGdiOffsetViewportOrgEx 4
-NtGdiOffsetWindowOrgEx 4
-#
-NtUserBuildMenuItemList 4
-NtUserCreateCursorIconHandle 2
-NtUserGetClassLong 3
-NtUserGetMenuDefaultItem 3
-NtUserGetLastInputInfo 1
-NtUserGetMinMaxInfo 3
-NtUserGetMonitorInfo 2
-NtUserGetScrollInfo 3
-NtUserGetWindow 2
-NtUserGetWindowLong 3
-NtUserMenuInfo 3
-NtUserMenuItemInfo 5
-NtUserMonitorFromPoint 3
-NtUserMonitorFromRect 2
-NtUserRegisterClassEx 6
-NtUserMonitorFromWindow 2
-NtUserSendMessage 5
-NtUserSendMessageTimeout 8
-NtUserSendNotifyMessage 4
-NtUserSetScrollBarInfo 3
+NtGdiMakeObjectXferable 2
+NtGdiMakeObjectUnXferable 1
Modified: branches/nwin32/subsystems/win32/win32k/win32k.def
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/win32k.def [iso-8859-1] (original)
+++ branches/nwin32/subsystems/win32/win32k/win32k.def [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,5 +1,4 @@
-; ReactOS win32k.sys exports
-; Currently all exports from Windows XP/2003 are listed, sorted by ordinal.
+; Win32 Kernel Driver Exports
LIBRARY win32k
EXPORTS
FLOATOBJ_AddFloatObj@8
@@ -104,10 +103,11 @@
EngModifySurface@32
EngMovePointer@16
EngMulDiv@12
-EngMultiByteToUnicodeN(a)20=NTOSKRNL.RtlMultiByteToUnicodeN
+EngMultiByteToUnicodeN@20
EngMultiByteToWideChar@20
EngNineGrid@36
EngPaint@20
+EngPlgBlt@44
EngProbeForRead(a)12=NTOSKRNL.ProbeForRead
EngProbeForReadAndWrite(a)12=NTOSKRNL.ProbeForWrite
EngQueryDeviceAttribute@24
@@ -133,7 +133,7 @@
EngStrokePath@32
EngTextOut@40
EngTransparentBlt@32
-EngUnicodeToMultiByteN(a)20=NTOSKRNL.RtlUnicodeToMultiByteN
+EngUnicodeToMultiByteN@20
EngUnloadImage@4
EngUnlockDirectDrawSurface@4
EngUnlockDriverObj@4
@@ -225,4 +225,3 @@
_itoa(a)12=NTOSKRNL._itoa
_itow(a)12=NTOSKRNL._itow
_local_unwind2=NTOSKRNL._local_unwind2
-;EOF
Modified: branches/nwin32/subsystems/win32/win32k/win32k.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/win32k.rbuild [iso-8859-1] (original)
+++ branches/nwin32/subsystems/win32/win32k/win32k.rbuild [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,192 +1,54 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
<group>
-<module name="win32k_base" type="objectlibrary">
- <include base="win32k_base">.</include>
- <include base="win32k_base">include</include>
- <include base="win32k_base"
root="intermediate">.</include>
- <include base="ntoskrnl">include</include>
- <include base="freetype">include</include>
+<module name="win32k" type="kernelmodedriver"
installbase="system32" installname="win32k.sys">
+ <importlibrary definition="win32k.def" />
+ <define name="_WIN32K_" />
+ <include base="win32k">include</include>
+ <include base="win32k" root="intermediate"></include>
+ <include base="win32k"
root="intermediate">include</include>
<include base="ReactOS">include/reactos/subsys</include>
- <include base="ReactOS">include/reactos/drivers</include>
- <define name="_WIN32_WINNT">0x0501</define>
- <define name="WINVER">0x600</define>
- <define name="LANGPACK" />
- <define name="_WIN32K_" />
- <pch>w32k.h</pch>
-
- <directory name="dib" root="intermediate">
- <file>dib8gen.c</file>
- <file>dib16gen.c</file>
- <file>dib32gen.c</file>
- </directory>
-
- <directory name="dib">
- <file>dib1bpp.c</file>
- <file>dib4bpp.c</file>
- <file>dib8bpp.c</file>
- <file>dib16bpp.c</file>
- <file>dib24bpp.c</file>
- <file>dib32bpp.c</file>
- <file>dib.c</file>
-
- <if property="ARCH" value="i386">
- <directory name="i386">
- <file>dib24bpp_hline.s</file>
- <file>dib32bpp_hline.s</file>
- <file>dib32bpp_colorfill.s</file>
- </directory>
- </if>
- <ifnot property="ARCH" value="i386">
- <file>dib24bppc.c</file>
- <file>dib32bppc.c</file>
- </ifnot>
+ <library>ntoskrnl</library>
+ <library>hal</library>
+ <library>freetype</library>
+ <library>libcntpr</library>
+ <library>pseh</library>
+ <directory name="include">
+ <pch>win32k.h</pch>
</directory>
<directory name="eng">
- <file>bitblt.c</file>
+ <file>engblt.c</file>
<file>engbrush.c</file>
- <file>clip.c</file>
- <file>copybits.c</file>
- <file>debug.c</file>
- <file>device.c</file>
- <file>driverobj.c</file>
- <file>error.c</file>
- <file>event.c</file>
- <file>float.c</file>
- <file>gradient.c</file>
- <file>lineto.c</file>
- <file>mem.c</file>
+ <file>engclip.c</file>
+ <file>engdev.c</file>
+ <file>engdrv.c</file>
+ <file>engevent.c</file>
+ <file>engerror.c</file>
+ <file>engfile.c</file>
+ <file>engfloat.c</file>
+ <file>engfont.c</file>
+ <file>engmem.c</file>
<file>engmisc.c</file>
- <file>mouse.c</file>
- <file>paint.c</file>
- <file>palette.c</file>
- <file>perfcnt.c</file>
- <file>semaphor.c</file>
- <file>sort.c</file>
- <file>string.c</file>
- <file>surface.c</file>
- <file>transblt.c</file>
- <file>engwindow.c</file>
- <file>xlate.c</file>
+ <file>engpaint.c</file>
+ <file>engpal.c</file>
+ <file>engpath.c</file>
+ <file>engpoint.c</file>
+ <file>engprint.c</file>
+ <file>engquery.c</file>
+ <file>engrtl.c</file>
+ <file>engsem.c</file>
+ <file>engsurf.c</file>
+ <file>engtext.c</file>
+ <file>engwnd.c</file>
+ <file>engxform.c</file>
+ <file>engxlate.c</file>
</directory>
- <directory name="ldr">
- <file>loader.c</file>
- </directory>
- <directory name="main">
- <file>dllmain.c</file>
- </directory>
- <directory name="misc">
- <file>driver.c</file>
- <file>err.c</file>
- <file>math.c</file>
- <file>copy.c</file>
- <file>usrheap.c</file>
- <if property="ARCH" value="i386">
- <directory name="i386">
- <file>cos_asm.s</file>
- <file>sin_asm.s</file>
- <file>atan2_asm.s</file>
- <file>floor_asm.s</file>
- <file>ceil_asm.s</file>
- </directory>
- </if>
+ <directory name="gre">
+ <file>init.c</file>
</directory>
<directory name="ntddraw">
- <file>ddraw.c</file>
- <file>dd.c</file>
- <file>ddsurf.c</file>
- <file>d3d.c</file>
- <file>dvp.c</file>
- <file>mocomp.c</file>
- <file>eng.c</file>
- <file>dxeng.c</file>
+ <file>ddeng.c</file>
</directory>
- <directory name="ntuser">
- <file>accelerator.c</file>
- <file>callback.c</file>
- <file>callproc.c</file>
- <file>caret.c</file>
- <file>class.c</file>
- <file>clipboard.c</file>
- <file>csr.c</file>
- <file>cursoricon.c</file>
- <file>defwnd.c</file>
- <file>desktop.c</file>
- <file>display.c</file>
- <file>event.c</file>
- <file>focus.c</file>
- <file>guicheck.c</file>
- <file>hook.c</file>
- <file>hotkey.c</file>
- <file>input.c</file>
- <file>keyboard.c</file>
- <file>kbdlayout.c</file>
- <file>menu.c</file>
- <file>message.c</file>
- <file>metric.c</file>
- <file>misc.c</file>
- <file>monitor.c</file>
- <file>msgqueue.c</file>
- <file>ntstubs.c</file>
- <file>ntuser.c</file>
- <file>painting.c</file>
- <file>prop.c</file>
- <file>scrollbar.c</file>
- <file>session.c</file>
- <file>simplecall.c</file>
- <file>sysparams.c</file>
- <file>timer.c</file>
- <file>useratom.c</file>
- <file>vis.c</file>
- <file>windc.c</file>
- <file>window.c</file>
- <file>winpos.c</file>
- <file>winsta.c</file>
- <file>object.c</file>
- </directory>
- <directory name="objects">
- <file>arc.c</file>
- <file>bezier.c</file>
- <file>bitblt.c</file>
- <file>bitmaps.c</file>
- <file>brush.c</file>
- <file>cliprgn.c</file>
- <file>color.c</file>
- <file>coord.c</file>
- <file>dc.c</file>
- <file>dcutil.c</file>
- <file>dibobj.c</file>
- <file>drawing.c</file>
- <file>fillshap.c</file>
- <file>gdibatch.c</file>
- <file>gdiobj.c</file>
- <file>icm.c</file>
- <file>line.c</file>
- <file>metafile.c</file>
- <file>palobj.c</file>
- <file>path.c</file>
- <file>pen.c</file>
- <file>polyfill.c</file>
- <file>print.c</file>
- <file>rect.c</file>
- <file>region.c</file>
- <file>stockobj.c</file>
- <file>text.c</file>
- <file>wingl.c</file>
- </directory>
- <directory name="stubs">
- <file>stubs.c</file>
- </directory>
-</module>
-<module name="win32k" type="kernelmodedriver"
installbase="system32" installname="win32k.sys"
allowwarnings="true">
- <importlibrary definition="win32k.def" />
- <library>win32k_base</library>
- <library>pseh</library>
- <library>ntoskrnl</library>
- <library>libcntpr</library>
- <library>hal</library>
- <library>freetype</library>
- <library>dxguid</library>
<file>win32k.rc</file>
</module>
-</group>
+</group>
Modified: branches/nwin32/subsystems/win32/win32k/win32k.rc
URL:
http://svn.reactos.org/svn/reactos/branches/nwin32/subsystems/win32/win32k/…
==============================================================================
--- branches/nwin32/subsystems/win32/win32k/win32k.rc [iso-8859-1] (original)
+++ branches/nwin32/subsystems/win32/win32k/win32k.rc [iso-8859-1] Mon Jul 21 16:00:16
2008
@@ -1,7 +1,13 @@
-/* $Id$ */
-
+/*
+ * PROJECT: ReactOS Win32K
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: subsystems/win32/win32k/win32k.rc
+ * PURPOSE: Win32K Resource File
+ * PROGRAMMERS: Stefan Ginsberg (stefan__100__(a)hotmail.com)
+ */
+/* FIXME: Make "correct" like ntoskrnl.rc? */
#define REACTOS_VERSION_DLL
-#define REACTOS_STR_FILE_DESCRIPTION "W32 GDI KM subsystem\0"
+#define REACTOS_STR_FILE_DESCRIPTION "Win32 Kernel Driver\0"
#define REACTOS_STR_INTERNAL_NAME "win32k\0"
#define REACTOS_STR_ORIGINAL_FILENAME "win32k.sys\0"
#include <reactos/version.rc>