[ros-diffs] [fireball] 33604: Stefan Ginsberg <stefan__100__ at hotmail.com> - Export undocumented Win32k functions and add stubs for them (information about prototypes if from Alex). Also implement and export a couple of documented APIs, and a bunch of APIs we implement but did not export.
fireball at svn.reactos.org
fireball at svn.reactos.org
Mon May 19 22:47:32 CEST 2008
- Previous message: [ros-diffs] [mpiulachs] 33603: - Removed hard coded bootsector from *Iso module types and express it with rbuild syntax. - Enabled installname attribute and removed hard coded output file name from *Iso module types. We can now use properties : ReactOS_$(arch).iso > ReactOS_i386.iso
- Next message: [ros-diffs] [jimtabor] 33605: Win32k: - GDI_TABLE_ENTRY ProcessId is a dword or int not a short. - Notice also the pid for f5e, it's set GDI_OBJ_HMGR_NONE with pUser 0. Our DCE code handling pUser is right with that respect. - Tested wine gdi32: dc gdiobj and user32: dce, all result same as before. object list for DC type objects owned by ALL PIDs I, handle, Lock, sCount, pid, pv, objt, unique, Flags, pUser, Tlock -------------------------------------------------------------------------------------------- f4c, ca010f4c, 0, 0, d60, e2ebc2a0, DC, ca01, 0, 00f80570, 00f80570 f5e, 60010f5e, 0, 0, 80000012, e28ce008, DC, 6001, 4, 00000000, 00000000 f9d, b4010f9d, 0, 0, d60, e2ee6008, DC, b401, 0, 00350000, 00350000
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: fireball
Date: Mon May 19 15:47:31 2008
New Revision: 33604
URL: http://svn.reactos.org/svn/reactos?rev=33604&view=rev
Log:
Stefan Ginsberg <stefan__100__ at hotmail.com>
- Export undocumented Win32k functions and add stubs for them (information about prototypes if from Alex). Also implement and export a couple of documented APIs, and a bunch of APIs we implement but did not export.
Modified:
trunk/reactos/subsystems/win32/win32k/eng/event.c
trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
trunk/reactos/subsystems/win32/win32k/win32k.def
Modified: trunk/reactos/subsystems/win32/win32k/eng/event.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/eng/event.c?rev=33604&r1=33603&r2=33604&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/event.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/event.c [iso-8859-1] Mon May 19 15:47:31 2008
@@ -1,23 +1,4 @@
/*
- * ReactOS W32 Subsystem
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/* $Id$
- *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Win32k event functions
Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/stubs/stubs.c?rev=33604&r1=33603&r2=33604&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] Mon May 19 15:47:31 2008
@@ -4,7 +4,6 @@
#include <w32k.h>
-#define STUB(x) void x(void) { DbgPrint("WIN32K: Stub for %s\n", #x); }
#define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
@@ -776,13 +775,6 @@
return 0;
}
-// below here aren't in DDK!!!
-
-STUB(FLOATOBJ_AddFloatObj)
-STUB(FLOATOBJ_DivFloatObj)
-STUB(FLOATOBJ_MulFloatObj)
-STUB(FLOATOBJ_SubFloatObj)
-
/*
* @unimplemented
*/
@@ -841,7 +833,8 @@
EngClearEvent(
IN PEVENT Event)
{
- UNIMPLEMENTED;
+ /* Forward to the kernel */
+ KeClearEvent((PKEVENT)Event);
}
/*
@@ -2934,3 +2927,140 @@
UNIMPLEMENTED;
return FALSE;
}
+
+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;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_AddFloatObj(PFLOATOBJ pFloatObj1,
+ PFLOATOBJ pFloatObj2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_DivFloatObj(PFLOATOBJ pFloatObj1,
+ PFLOATOBJ pFloatObj2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_MulFloatObj(PFLOATOBJ pFloatObj1,
+ PFLOATOBJ pFloatObj2)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+APIENTRY
+FLOATOBJ_SubFloatObj(PFLOATOBJ pFloatObj1,
+ PFLOATOBJ pFloatObj2)
+{
+ UNIMPLEMENTED;
+}
+
+PVOID
+APIENTRY
+EngAllocSectionMem(IN PVOID SectionObject,
+ IN ULONG Flags,
+ IN SIZE_T MemSize,
+ IN ULONG Tag)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+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;
+}
+
+BOOLEAN
+APIENTRY
+EngFreeSectionMem(IN PVOID SectionObject OPTIONAL,
+ IN PVOID MappedBase)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ULONGLONG
+APIENTRY
+EngGetTickCount(VOID)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+BOOLEAN
+APIENTRY
+EngMapSection(IN PVOID Section,
+ IN BOOLEAN Map,
+ IN HANDLE Process,
+ IN PVOID* BaseAddress)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOLEAN
+APIENTRY
+EngNineGrid(IN SURFOBJ* pDestSurfaceObj,
+ IN SURFOBJ* pSourceSurfaceObj,
+ IN CLIPOBJ* pClipObj,
+ IN XLATEOBJ* pXlateObj,
+ IN RECTL* prclSource,
+ IN RECTL* prclDest,
+ PVOID pvUnknown1,
+ PVOID pvUnknown2,
+ DWORD dwReserved)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
Modified: trunk/reactos/subsystems/win32/win32k/win32k.def
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/win32k.def?rev=33604&r1=33603&r2=33604&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] Mon May 19 15:47:31 2008
@@ -1,14 +1,12 @@
-; $Id$
-;
-; win32k.def
-;
; ReactOS win32k.sys exports
-;
-; Currently all exports from windows xp are listed, sorted by name
-;
+; Currently all exports from Windows XP/2003 are listed, sorted by ordinal.
LIBRARY win32k
EXPORTS
-;BRUSHOBJ_hGetColorTransform at 4
+FLOATOBJ_AddFloatObj at 8
+FLOATOBJ_DivFloatObj at 8
+FLOATOBJ_MulFloatObj at 8
+FLOATOBJ_SubFloatObj at 8
+BRUSHOBJ_hGetColorTransform at 4
BRUSHOBJ_pvAllocRbrush at 8
BRUSHOBJ_pvGetRbrush at 4
BRUSHOBJ_ulGetBrushColor at 4
@@ -18,14 +16,14 @@
EngAcquireSemaphore at 4
EngAllocMem at 12
EngAllocPrivateUserMem at 12
-;EngAllocSectionMem
+EngAllocSectionMem at 16
EngAllocUserMem at 8
EngAlphaBlend at 28
EngAssociateSurface at 12
EngBitBlt at 44
-;EngBugCheckEx at 20
+EngBugCheckEx at 20=NTOSKRNL.KeBugCheckEx
EngCheckAbort at 4
-;EngClearEvent at 4
+EngClearEvent at 4
EngComputeGlyphSet at 12
EngControlSprites at 8
EngCopyBits at 24
@@ -44,7 +42,7 @@
EngDeleteClip at 4
EngDeleteDriverObj at 12
EngDeleteEvent at 4
-;EngDeleteFile at 4
+EngDeleteFile at 4
EngDeletePalette at 4
EngDeletePath at 4
EngDeleteSafeSemaphore at 4
@@ -56,18 +54,18 @@
EngDxIoctl at 12
EngEnumForms at 24
EngEraseSurface at 12
-;EngFileIoControl
-;EngFileWrite
+EngFileIoControl at 28
+EngFileWrite at 16
EngFillPath at 28
EngFindImageProcAddress at 8
EngFindResource at 16
-;EngFntCacheAlloc at 8
-;EngFntCacheFault at 8
-;EngFntCacheLookUp at 8
+EngFntCacheAlloc at 8
+EngFntCacheFault at 8
+EngFntCacheLookUp at 8
EngFreeMem at 4
EngFreeModule at 4
EngFreePrivateUserMem at 8
-;EngFreeSectionMem
+EngFreeSectionMem at 8
EngFreeUserMem at 4
EngGetCurrentCodePage at 8=ntoskrnl.RtlGetCurrentCodePage
EngGetCurrentProcessId at 0
@@ -80,15 +78,15 @@
EngGetPrinter at 20
EngGetPrinterData at 24
EngGetPrinterDataFileName at 4
-;EngGetPrinterDriver at 24
+EngGetPrinterDriver at 24
EngGetProcessHandle at 0
-;EngGetTickCount
+EngGetTickCount at 0
EngGetType1FontList at 24
EngGradientFill at 40
-;EngHangNotification at 8
+EngHangNotification at 8
EngInitializeSafeSemaphore at 4
-;EngIsSemaphoreOwned at 4
-;EngIsSemaphoreOwnedByCurrentThread at 4
+EngIsSemaphoreOwned at 4
+EngIsSemaphoreOwnedByCurrentThread at 4
EngLineTo at 36
EngLoadImage at 4
EngLoadModule at 4
@@ -96,29 +94,29 @@
EngLockDirectDrawSurface at 4
EngLockDriverObj at 4
EngLockSurface at 4
-;EngLpkInstalled at 0
+EngLpkInstalled at 0
EngMapEvent at 20
EngMapFontFile at 12
-;EngMapFontFileFD at 12
+EngMapFontFileFD at 12
EngMapModule at 8
-;EngMapSection
+EngMapSection at 16
EngMarkBandingSurface at 4
EngModifySurface at 32
EngMovePointer at 16
EngMulDiv at 12
EngMultiByteToUnicodeN at 20=ntoskrnl.RtlMultiByteToUnicodeN
EngMultiByteToWideChar at 20
-;EngNineGrid
+EngNineGrid at 36
EngPaint at 20
EngProbeForRead at 12=NTOSKRNL.ProbeForRead
EngProbeForReadAndWrite at 12=NTOSKRNL.ProbeForWrite
-;EngQueryDeviceAttribute at 24
+EngQueryDeviceAttribute at 24
EngQueryLocalTime at 4
EngQueryPalette at 16
EngQueryPerformanceCounter at 4
EngQueryPerformanceFrequency at 4
EngQuerySystemAttribute at 8
-;EngReadStateEvent at 4
+EngReadStateEvent at 4
EngReleaseSemaphore at 4
EngRestoreFloatingPointState at 4
EngSaveFloatingPointState at 8
@@ -130,7 +128,7 @@
EngSetPrinterData at 20
EngSort at 16
EngStretchBlt at 44
-;EngStretchBltROP at 52
+EngStretchBltROP at 52
EngStrokeAndFillPath at 40
EngStrokePath at 32
EngTextOut at 40
@@ -140,20 +138,19 @@
EngUnlockDirectDrawSurface at 4
EngUnlockDriverObj at 4
EngUnlockSurface at 4
+EngUnmapFile at 4
EngUnmapEvent at 4
EngUnmapFontFile at 4
-;EngUnmapFontFileFD at 4
+EngUnmapFontFileFD at 4
EngUnsecureMem at 4
EngWaitForSingleObject at 8
EngWideCharToMultiByte at 20
EngWritePrinter at 16
FLOATOBJ_Add at 8
FLOATOBJ_AddFloat at 8
-FLOATOBJ_AddFloatObj
FLOATOBJ_AddLong at 8
FLOATOBJ_Div at 8
FLOATOBJ_DivFloat at 8
-FLOATOBJ_DivFloatObj
FLOATOBJ_DivLong at 8
FLOATOBJ_Equal at 8
FLOATOBJ_EqualLong at 8
@@ -165,29 +162,27 @@
FLOATOBJ_LessThanLong at 8
FLOATOBJ_Mul at 8
FLOATOBJ_MulFloat at 8
-FLOATOBJ_MulFloatObj
FLOATOBJ_MulLong at 8
FLOATOBJ_Neg at 4
FLOATOBJ_SetFloat at 8
FLOATOBJ_SetLong at 8
FLOATOBJ_Sub at 8
FLOATOBJ_SubFloat at 8
-FLOATOBJ_SubFloatObj
FLOATOBJ_SubLong at 8
FONTOBJ_cGetAllGlyphHandles at 8
FONTOBJ_cGetGlyphs at 20
-;FONTOBJ_pQueryGlyphAttrs at 8
-;FONTOBJ_pfdg at 4
+FONTOBJ_pQueryGlyphAttrs at 8
+FONTOBJ_pfdg at 4
FONTOBJ_pifi at 4
-;FONTOBJ_pjOpenTypeTablePointer at 12
+FONTOBJ_pjOpenTypeTablePointer at 12
FONTOBJ_pvTrueTypeFontFile at 8
;FONTOBJ_pwszFontFilePaths at 4
FONTOBJ_pxoGetXform at 4
FONTOBJ_vGetInfo at 12
-HeapVidMemAllocAligned at 20
HT_ComputeRGBGammaTable at 24
HT_Get8BPPFormatPalette at 16
-;HT_Get8BPPMaskPalette at 24
+HT_Get8BPPMaskPalette at 24
+HeapVidMemAllocAligned at 20
PALOBJ_cGetColors at 16
PATHOBJ_bCloseFigure at 4
PATHOBJ_bEnum at 8
@@ -207,11 +202,11 @@
RtlUpcaseUnicodeChar at 4=NTOSKRNL.RtlUpcaseUnicodeChar
RtlUpcaseUnicodeToMultiByteN at 20=NTOSKRNL.RtlUpcaseUnicodeToMultiByteN
STROBJ_bEnum at 12
-;STROBJ_bEnumPositionsOnly at 12
-;STROBJ_bGetAdvanceWidths at 16
+STROBJ_bEnumPositionsOnly at 12
+STROBJ_bGetAdvanceWidths at 16
STROBJ_dwGetCodePage at 4
-;STROBJ_fxBreakExtra at 4
-;STROBJ_fxCharacterExtra at 4
+STROBJ_fxBreakExtra at 4
+STROBJ_fxCharacterExtra at 4
STROBJ_vEnumStart at 4
VidMemFree at 8
WNDOBJ_bEnum at 12
@@ -221,14 +216,13 @@
XFORMOBJ_iGetFloatObjXform at 8
XFORMOBJ_iGetXform at 8
XLATEOBJ_cGetPalette at 16
-;XLATEOBJ_hGetColorTransform at 4
+XLATEOBJ_hGetColorTransform at 4
XLATEOBJ_iXlate at 8
XLATEOBJ_piVector at 4
_abnormal_termination=NTOSKRNL._abnormal_termination
_except_handler2=NTOSKRNL._except_handler2
_global_unwind2=NTOSKRNL._global_unwind2
-;_itoa at 12
-;_itow at 12
+_itoa at 12=NTOSKRNL._itoa
+_itow at 12=NTOSKRNL._itow
_local_unwind2=NTOSKRNL._local_unwind2
-
;EOF
- Previous message: [ros-diffs] [mpiulachs] 33603: - Removed hard coded bootsector from *Iso module types and express it with rbuild syntax. - Enabled installname attribute and removed hard coded output file name from *Iso module types. We can now use properties : ReactOS_$(arch).iso > ReactOS_i386.iso
- Next message: [ros-diffs] [jimtabor] 33605: Win32k: - GDI_TABLE_ENTRY ProcessId is a dword or int not a short. - Notice also the pid for f5e, it's set GDI_OBJ_HMGR_NONE with pUser 0. Our DCE code handling pUser is right with that respect. - Tested wine gdi32: dc gdiobj and user32: dce, all result same as before. object list for DC type objects owned by ALL PIDs I, handle, Lock, sCount, pid, pv, objt, unique, Flags, pUser, Tlock -------------------------------------------------------------------------------------------- f4c, ca010f4c, 0, 0, d60, e2ebc2a0, DC, ca01, 0, 00f80570, 00f80570 f5e, 60010f5e, 0, 0, 80000012, e28ce008, DC, 6001, 4, 00000000, 00000000 f9d, b4010f9d, 0, 0, d60, e2ee6008, DC, b401, 0, 00350000, 00350000
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list