[WIN32KSYS]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 8 Feb 2011 17:33:50 +0000 (17:33 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 8 Feb 2011 17:33:50 +0000 (17:33 +0000)
replace nci-generated stubs with a stub file using macros

svn path=/trunk/; revision=50621

reactos/lib/lib.rbuild
reactos/lib/win32ksys/win32ksys.rbuild [deleted file]
reactos/subsystems/win32/win32k/sys-stubs.S [new file with mode: 0644]
reactos/subsystems/win32/win32k/w32ksvc.h [new file with mode: 0644]
reactos/subsystems/win32/win32k/win32k.rbuild

index 544ae07..8a5e890 100644 (file)
@@ -70,7 +70,4 @@
        <directory name="tdilib">
                <xi:include href="tdilib/tdilib.rbuild" />
        </directory>
-       <directory name="win32ksys">
-               <xi:include href="win32ksys/win32ksys.rbuild" />
-       </directory>
 </group>
diff --git a/reactos/lib/win32ksys/win32ksys.rbuild b/reactos/lib/win32ksys/win32ksys.rbuild
deleted file mode 100644 (file)
index 4ada178..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
-<module name="win32ksys" type="staticlibrary">
-       <directory name="." root="intermediate">
-               <file>win32k.S</file>
-       </directory>
-</module>
diff --git a/reactos/subsystems/win32/win32k/sys-stubs.S b/reactos/subsystems/win32/win32k/sys-stubs.S
new file mode 100644 (file)
index 0000000..1a139f5
--- /dev/null
@@ -0,0 +1,12 @@
+
+#include <asm.inc>
+#include <syscalls.inc>
+
+.code
+
+SyscallId = HEX(1000)
+#define SVC_(name, argcount) STUB_U name, argcount
+
+#include "w32ksvc.h"
+
+END
diff --git a/reactos/subsystems/win32/win32k/w32ksvc.h b/reactos/subsystems/win32/win32k/w32ksvc.h
new file mode 100644 (file)
index 0000000..1b1fe11
--- /dev/null
@@ -0,0 +1,695 @@
+// SVC_(<NAME>, <ARG_COUNT>)
+//
+// Funcs, order, should, match, Windows, XP, 5.1.2600, SP2)
+//
+SVC_(NtGdiAbortDoc, 1)
+SVC_(NtGdiAbortPath, 1)
+SVC_(NtGdiAddFontResourceW, 6)
+SVC_(NtGdiAddRemoteFontToDC, 4)
+SVC_(NtGdiAddFontMemResourceEx, 5)
+SVC_(NtGdiRemoveMergeFont, 2)
+SVC_(NtGdiAddRemoteMMInstanceToDC, 3)
+SVC_(NtGdiAlphaBlend, 12)
+SVC_(NtGdiAngleArc, 6)
+SVC_(NtGdiAnyLinkedFonts, 0)
+SVC_(NtGdiFontIsLinked, 1)
+SVC_(NtGdiArcInternal, 10)
+SVC_(NtGdiBeginPath, 1)
+SVC_(NtGdiBitBlt, 11)
+SVC_(NtGdiCancelDC, 1)
+SVC_(NtGdiCheckBitmapBits, 8)
+SVC_(NtGdiCloseFigure, 1)
+SVC_(NtGdiClearBitmapAttributes, 2)
+SVC_(NtGdiClearBrushAttributes, 2)
+SVC_(NtGdiColorCorrectPalette, 6)
+SVC_(NtGdiCombineRgn, 4)
+SVC_(NtGdiCombineTransform, 3)
+SVC_(NtGdiComputeXformCoefficients, 1)
+SVC_(NtGdiConsoleTextOut, 4)
+SVC_(NtGdiConvertMetafileRect, 2)
+SVC_(NtGdiCreateBitmap, 5)
+SVC_(NtGdiCreateClientObj, 1)
+SVC_(NtGdiCreateColorSpace, 1)
+SVC_(NtGdiCreateColorTransform, 8)
+SVC_(NtGdiCreateCompatibleBitmap, 3)
+SVC_(NtGdiCreateCompatibleDC, 1)
+SVC_(NtGdiCreateDIBBrush, 6)
+SVC_(NtGdiCreateDIBitmapInternal, 11)
+SVC_(NtGdiCreateDIBSection, 9)
+SVC_(NtGdiCreateEllipticRgn, 4)
+SVC_(NtGdiCreateHalftonePalette, 1)
+SVC_(NtGdiCreateHatchBrushInternal, 3)
+SVC_(NtGdiCreateMetafileDC, 1)
+SVC_(NtGdiCreatePaletteInternal, 2)
+SVC_(NtGdiCreatePatternBrushInternal, 3)
+SVC_(NtGdiCreatePen, 4)
+SVC_(NtGdiCreateRectRgn, 4)
+SVC_(NtGdiCreateRoundRectRgn, 6)
+SVC_(NtGdiCreateServerMetaFile, 6)
+SVC_(NtGdiCreateSolidBrush, 2)
+SVC_(NtGdiD3dContextCreate, 4)
+SVC_(NtGdiD3dContextDestroy, 1)
+SVC_(NtGdiD3dContextDestroyAll, 1)
+SVC_(NtGdiD3dValidateTextureStageState, 1)
+SVC_(NtGdiD3dDrawPrimitives2, 7)
+SVC_(NtGdiDdGetDriverState, 1)
+SVC_(NtGdiDdAddAttachedSurface, 3)
+SVC_(NtGdiDdAlphaBlt, 3)
+SVC_(NtGdiDdAttachSurface, 2)
+SVC_(NtGdiDdBeginMoCompFrame, 2)
+SVC_(NtGdiDdBlt, 3)
+SVC_(NtGdiDdCanCreateSurface, 2)
+SVC_(NtGdiDdCanCreateD3DBuffer, 2)
+SVC_(NtGdiDdColorControl, 2)
+SVC_(NtGdiDdCreateDirectDrawObject, 1)
+SVC_(NtGdiDdCreateSurface, 8)
+SVC_(NtGdiDdCreateD3DBuffer, 8)
+SVC_(NtGdiDdCreateMoComp, 2)
+SVC_(NtGdiDdCreateSurfaceObject, 6)
+SVC_(NtGdiDdDeleteDirectDrawObject, 1)
+SVC_(NtGdiDdDeleteSurfaceObject, 1)
+SVC_(NtGdiDdDestroyMoComp, 2)
+SVC_(NtGdiDdDestroySurface, 2)
+SVC_(NtGdiDdDestroyD3DBuffer, 1)
+SVC_(NtGdiDdEndMoCompFrame, 2)
+SVC_(NtGdiDdFlip, 5)
+SVC_(NtGdiDdFlipToGDISurface, 2)
+SVC_(NtGdiDdGetAvailDriverMemory, 2)
+SVC_(NtGdiDdGetBltStatus, 2)
+SVC_(NtGdiDdGetDC, 2)
+SVC_(NtGdiDdGetDriverInfo, 2)
+SVC_(NtGdiDdGetDxHandle, 3)
+SVC_(NtGdiDdGetFlipStatus, 2)
+SVC_(NtGdiDdGetInternalMoCompInfo, 2)
+SVC_(NtGdiDdGetMoCompBuffInfo, 2)
+SVC_(NtGdiDdGetMoCompGuids, 2)
+SVC_(NtGdiDdGetMoCompFormats, 2)
+SVC_(NtGdiDdGetScanLine, 2)
+SVC_(NtGdiDdLock, 3)
+SVC_(NtGdiDdLockD3D, 2)
+SVC_(NtGdiDdQueryDirectDrawObject, 11)
+SVC_(NtGdiDdQueryMoCompStatus, 2)
+SVC_(NtGdiDdReenableDirectDrawObject, 2)
+SVC_(NtGdiDdReleaseDC, 1)
+SVC_(NtGdiDdRenderMoComp, 2)
+SVC_(NtGdiDdResetVisrgn, 2)
+SVC_(NtGdiDdSetColorKey, 2)
+SVC_(NtGdiDdSetExclusiveMode, 2)
+SVC_(NtGdiDdSetGammaRamp, 3)
+SVC_(NtGdiDdCreateSurfaceEx, 3)
+SVC_(NtGdiDdSetOverlayPosition, 3)
+SVC_(NtGdiDdUnattachSurface, 2)
+SVC_(NtGdiDdUnlock, 2)
+SVC_(NtGdiDdUnlockD3D, 2)
+SVC_(NtGdiDdUpdateOverlay, 3)
+SVC_(NtGdiDdWaitForVerticalBlank, 2)
+SVC_(NtGdiDvpCanCreateVideoPort, 2)
+SVC_(NtGdiDvpColorControl, 2)
+SVC_(NtGdiDvpCreateVideoPort, 2)
+SVC_(NtGdiDvpDestroyVideoPort, 2)
+SVC_(NtGdiDvpFlipVideoPort, 4)
+SVC_(NtGdiDvpGetVideoPortBandwidth, 2)
+SVC_(NtGdiDvpGetVideoPortField, 2)
+SVC_(NtGdiDvpGetVideoPortFlipStatus, 2)
+SVC_(NtGdiDvpGetVideoPortInputFormats, 2)
+SVC_(NtGdiDvpGetVideoPortLine, 2)
+SVC_(NtGdiDvpGetVideoPortOutputFormats, 2)
+SVC_(NtGdiDvpGetVideoPortConnectInfo, 2)
+SVC_(NtGdiDvpGetVideoSignalStatus, 2)
+SVC_(NtGdiDvpUpdateVideoPort, 4)
+SVC_(NtGdiDvpWaitForVideoPortSync, 2)
+SVC_(NtGdiDvpAcquireNotification, 3)
+SVC_(NtGdiDvpReleaseNotification, 2)
+SVC_(NtGdiDxgGenericThunk, 6)
+SVC_(NtGdiDeleteClientObj, 1)
+SVC_(NtGdiDeleteColorSpace, 1)
+SVC_(NtGdiDeleteColorTransform, 2)
+SVC_(NtGdiDeleteObjectApp, 1)
+SVC_(NtGdiDescribePixelFormat, 4)
+SVC_(NtGdiGetPerBandInfo, 2)
+SVC_(NtGdiDoBanding, 4)
+SVC_(NtGdiDoPalette, 6)
+SVC_(NtGdiDrawEscape, 4)
+SVC_(NtGdiEllipse, 5)
+SVC_(NtGdiEnableEudc, 1)
+SVC_(NtGdiEndDoc, 1)
+SVC_(NtGdiEndPage, 1)
+SVC_(NtGdiEndPath, 1)
+SVC_(NtGdiEnumFontChunk, 5)
+SVC_(NtGdiEnumFontClose, 1)
+SVC_(NtGdiEnumFontOpen, 7)
+SVC_(NtGdiEnumObjects, 4)
+SVC_(NtGdiEqualRgn, 2)
+SVC_(NtGdiEudcLoadUnloadLink, 7)
+SVC_(NtGdiExcludeClipRect, 5)
+SVC_(NtGdiExtCreatePen, 11)
+SVC_(NtGdiExtCreateRegion, 3)
+SVC_(NtGdiExtEscape, 8)
+SVC_(NtGdiExtFloodFill, 5)
+SVC_(NtGdiExtGetObjectW, 3)
+SVC_(NtGdiExtSelectClipRgn, 3)
+SVC_(NtGdiExtTextOutW, 9)
+SVC_(NtGdiFillPath, 1)
+SVC_(NtGdiFillRgn, 3)
+SVC_(NtGdiFlattenPath, 1)
+SVC_(NtGdiFlushUserBatch, 0)
+SVC_(NtGdiFlush, 0)
+SVC_(NtGdiForceUFIMapping, 2)
+SVC_(NtGdiFrameRgn, 5)
+SVC_(NtGdiFullscreenControl, 5)
+SVC_(NtGdiGetAndSetDCDword, 4)
+SVC_(NtGdiGetAppClipBox, 2)
+SVC_(NtGdiGetBitmapBits, 3)
+SVC_(NtGdiGetBitmapDimension, 2)
+SVC_(NtGdiGetBoundsRect, 3)
+SVC_(NtGdiGetCharABCWidthsW, 6)
+SVC_(NtGdiGetCharacterPlacementW, 6)
+SVC_(NtGdiGetCharSet, 1)
+SVC_(NtGdiGetCharWidthW, 6)
+SVC_(NtGdiGetCharWidthInfo, 2)
+SVC_(NtGdiGetColorAdjustment, 2)
+SVC_(NtGdiGetColorSpaceforBitmap, 1)
+SVC_(NtGdiGetDCDword, 3)
+SVC_(NtGdiGetDCforBitmap, 1)
+SVC_(NtGdiGetDCObject, 2)
+SVC_(NtGdiGetDCPoint, 3)
+SVC_(NtGdiGetDeviceCaps, 2)
+SVC_(NtGdiGetDeviceGammaRamp, 2)
+SVC_(NtGdiGetDeviceCapsAll, 2)
+SVC_(NtGdiGetDIBitsInternal, 9)
+SVC_(NtGdiGetETM, 2)
+SVC_(NtGdiGetEudcTimeStampEx, 3)
+SVC_(NtGdiGetFontData, 5)
+SVC_(NtGdiGetFontResourceInfoInternalW, 7)
+SVC_(NtGdiGetGlyphIndicesW, 5)
+SVC_(NtGdiGetGlyphIndicesWInternal, 6)
+SVC_(NtGdiGetGlyphOutline, 8)
+SVC_(NtGdiGetKerningPairs, 3)
+SVC_(NtGdiGetLinkedUFIs, 3)
+SVC_(NtGdiGetMiterLimit, 2)
+SVC_(NtGdiGetMonitorID, 3)
+SVC_(NtGdiGetNearestColor, 2)
+SVC_(NtGdiGetNearestPaletteIndex, 2)
+SVC_(NtGdiGetObjectBitmapHandle, 2)
+SVC_(NtGdiGetOutlineTextMetricsInternalW, 4)
+SVC_(NtGdiGetPath, 4)
+SVC_(NtGdiGetPixel, 3)
+SVC_(NtGdiGetRandomRgn, 3)
+SVC_(NtGdiGetRasterizerCaps, 2)
+SVC_(NtGdiGetRealizationInfo, 3)
+SVC_(NtGdiGetRegionData, 3)
+SVC_(NtGdiGetRgnBox, 2)
+SVC_(NtGdiGetServerMetaFileBits, 7)
+SVC_(NtGdiGetSpoolMessage, 4)
+SVC_(NtGdiGetStats, 5)
+SVC_(NtGdiGetStockObject, 1)
+SVC_(NtGdiGetStringBitmapW, 5)
+SVC_(NtGdiGetSystemPaletteUse, 1)
+SVC_(NtGdiGetTextCharsetInfo, 3)
+SVC_(NtGdiGetTextExtent, 5)
+SVC_(NtGdiGetTextExtentExW, 8)
+SVC_(NtGdiGetTextFaceW, 4)
+SVC_(NtGdiGetTextMetricsW, 3)
+SVC_(NtGdiGetTransform, 3)
+SVC_(NtGdiGetUFI, 6)
+SVC_(NtGdiGetEmbUFI, 7)
+SVC_(NtGdiGetUFIPathname, 10)
+SVC_(NtGdiGetEmbedFonts, 0)
+SVC_(NtGdiChangeGhostFont, 2)
+SVC_(NtGdiAddEmbFontToDC, 2)
+SVC_(NtGdiGetFontUnicodeRanges, 2)
+SVC_(NtGdiGetWidthTable, 7)
+SVC_(NtGdiGradientFill, 6)
+SVC_(NtGdiHfontCreate, 5)
+SVC_(NtGdiIcmBrushInfo, 8)
+SVC_(NtGdiInit, 0)
+SVC_(NtGdiInitSpool, 0)
+SVC_(NtGdiIntersectClipRect, 5)
+SVC_(NtGdiInvertRgn, 2)
+SVC_(NtGdiLineTo, 3)
+SVC_(NtGdiMakeFontDir, 5)
+SVC_(NtGdiMakeInfoDC, 2)
+SVC_(NtGdiMaskBlt, 13)
+SVC_(NtGdiModifyWorldTransform, 3)
+SVC_(NtGdiMonoBitmap, 1)
+SVC_(NtGdiMoveTo, 4)
+SVC_(NtGdiOffsetClipRgn, 3)
+SVC_(NtGdiOffsetRgn, 3)
+SVC_(NtGdiOpenDCW, 8)
+SVC_(NtGdiPatBlt, 6)
+SVC_(NtGdiPolyPatBlt, 5)
+SVC_(NtGdiPathToRegion, 1)
+SVC_(NtGdiPlgBlt, 11)
+SVC_(NtGdiPolyDraw, 4)
+SVC_(NtGdiPolyPolyDraw, 5)
+SVC_(NtGdiPolyTextOutW, 4)
+SVC_(NtGdiPtInRegion, 3)
+SVC_(NtGdiPtVisible, 3)
+SVC_(NtGdiQueryFonts, 3)
+SVC_(NtGdiQueryFontAssocInfo, 1)
+SVC_(NtGdiRectangle, 5)
+SVC_(NtGdiRectInRegion, 2)
+SVC_(NtGdiRectVisible, 2)
+SVC_(NtGdiRemoveFontResourceW, 6)
+SVC_(NtGdiRemoveFontMemResourceEx, 1)
+SVC_(NtGdiResetDC, 5)
+SVC_(NtGdiResizePalette, 2)
+SVC_(NtGdiRestoreDC, 2)
+SVC_(NtGdiRoundRect, 7)
+SVC_(NtGdiSaveDC, 1)
+SVC_(NtGdiScaleViewportExtEx, 6)
+SVC_(NtGdiScaleWindowExtEx, 6)
+SVC_(NtGdiSelectBitmap, 2)
+SVC_(NtGdiSelectBrush, 2)
+SVC_(NtGdiSelectClipPath, 2)
+SVC_(NtGdiSelectFont, 2)
+SVC_(NtGdiSelectPen, 2)
+SVC_(NtGdiSetBitmapAttributes, 2)
+SVC_(NtGdiSetBitmapBits, 3)
+SVC_(NtGdiSetBitmapDimension, 4)
+SVC_(NtGdiSetBoundsRect, 3)
+SVC_(NtGdiSetBrushAttributes, 2)
+SVC_(NtGdiSetBrushOrg, 4)
+SVC_(NtGdiSetColorAdjustment, 2)
+SVC_(NtGdiSetColorSpace, 2)
+SVC_(NtGdiSetDeviceGammaRamp, 2)
+SVC_(NtGdiSetDIBitsToDeviceInternal, 16)
+SVC_(NtGdiSetFontEnumeration, 1)
+SVC_(NtGdiSetFontXform, 3)
+SVC_(NtGdiSetIcmMode, 3)
+SVC_(NtGdiSetLinkedUFIs, 3)
+SVC_(NtGdiSetMagicColors, 3)
+SVC_(NtGdiSetMetaRgn, 1)
+SVC_(NtGdiSetMiterLimit, 3)
+SVC_(NtGdiGetDeviceWidth, 1)
+SVC_(NtGdiMirrorWindowOrg, 1)
+SVC_(NtGdiSetLayout, 3)
+SVC_(NtGdiSetPixel, 4)
+SVC_(NtGdiSetPixelFormat, 2)
+SVC_(NtGdiSetRectRgn, 5)
+SVC_(NtGdiSetSystemPaletteUse, 2)
+SVC_(NtGdiSetTextJustification, 3)
+SVC_(NtGdiSetupPublicCFONT, 3)
+SVC_(NtGdiSetVirtualResolution, 5)
+SVC_(NtGdiSetSizeDevice, 3)
+SVC_(NtGdiStartDoc, 4)
+SVC_(NtGdiStartPage, 1)
+SVC_(NtGdiStretchBlt, 12)
+SVC_(NtGdiStretchDIBitsInternal, 16)
+SVC_(NtGdiStrokeAndFillPath, 1)
+SVC_(NtGdiStrokePath, 1)
+SVC_(NtGdiSwapBuffers, 1)
+SVC_(NtGdiTransformPoints, 5)
+SVC_(NtGdiTransparentBlt, 11)
+SVC_(NtGdiUnloadPrinterDriver, 2)
+SVC_(NtGdiUnmapMemFont, 1)
+SVC_(NtGdiUnrealizeObject, 1)
+SVC_(NtGdiUpdateColors, 1)
+SVC_(NtGdiWidenPath, 1)
+SVC_(NtUserActivateKeyboardLayout, 2)
+SVC_(NtUserAlterWindowStyle, 3)
+SVC_(NtUserAssociateInputContext, 3)
+SVC_(NtUserAttachThreadInput, 3)
+SVC_(NtUserBeginPaint, 2)
+SVC_(NtUserBitBltSysBmp, 8)
+SVC_(NtUserBlockInput, 1)
+SVC_(NtUserBuildHimcList, 4)
+SVC_(NtUserBuildHwndList, 7)
+SVC_(NtUserBuildNameList, 4)
+SVC_(NtUserBuildPropList, 4)
+SVC_(NtUserCallHwnd, 2)
+SVC_(NtUserCallHwndLock, 2)
+SVC_(NtUserCallHwndOpt, 2)
+SVC_(NtUserCallHwndParam, 3)
+SVC_(NtUserCallHwndParamLock, 3)
+SVC_(NtUserCallMsgFilter, 2)
+SVC_(NtUserCallNextHookEx, 4)
+SVC_(NtUserCallNoParam, 1)
+SVC_(NtUserCallOneParam, 2)
+SVC_(NtUserCallTwoParam, 3)
+SVC_(NtUserChangeClipboardChain, 2)
+SVC_(NtUserChangeDisplaySettings, 5)
+SVC_(NtUserCheckImeHotKey, 2)
+SVC_(NtUserCheckMenuItem, 3)
+SVC_(NtUserChildWindowFromPointEx, 4)
+SVC_(NtUserClipCursor, 1)
+SVC_(NtUserCloseClipboard, 0)
+SVC_(NtUserCloseDesktop, 1)
+SVC_(NtUserCloseWindowStation, 1)
+SVC_(NtUserConsoleControl, 3)
+SVC_(NtUserConvertMemHandle, 2)
+SVC_(NtUserCopyAcceleratorTable, 3)
+SVC_(NtUserCountClipboardFormats, 0)
+SVC_(NtUserCreateAcceleratorTable, 2)
+SVC_(NtUserCreateCaret, 4)
+SVC_(NtUserCreateDesktop, 5)
+SVC_(NtUserCreateInputContext, 1)
+SVC_(NtUserCreateLocalMemHandle, 4)
+SVC_(NtUserCreateWindowEx, 15)
+SVC_(NtUserCreateWindowStation, 7)
+SVC_(NtUserDdeGetQualityOfService, 3)
+SVC_(NtUserDdeInitialize, 5)
+SVC_(NtUserDdeSetQualityOfService, 3)
+SVC_(NtUserDeferWindowPos, 8)
+SVC_(NtUserDefSetText, 2)
+SVC_(NtUserDeleteMenu, 3)
+SVC_(NtUserDestroyAcceleratorTable, 1)
+SVC_(NtUserDestroyCursor, 2)
+SVC_(NtUserDestroyInputContext, 1)
+SVC_(NtUserDestroyMenu, 1)
+SVC_(NtUserDestroyWindow, 1)
+SVC_(NtUserDisableThreadIme, 1)
+SVC_(NtUserDispatchMessage, 1)
+SVC_(NtUserDragDetect, 3)
+SVC_(NtUserDragObject, 5)
+SVC_(NtUserDrawAnimatedRects, 4)
+SVC_(NtUserDrawCaption, 4)
+SVC_(NtUserDrawCaptionTemp, 7)
+SVC_(NtUserDrawIconEx, 11)
+SVC_(NtUserDrawMenuBarTemp, 5)
+SVC_(NtUserEmptyClipboard, 0)
+SVC_(NtUserEnableMenuItem, 3)
+SVC_(NtUserEnableScrollBar, 3)
+SVC_(NtUserEndDeferWindowPosEx, 2)
+SVC_(NtUserEndMenu, 0)
+SVC_(NtUserEndPaint, 2)
+SVC_(NtUserEnumDisplayDevices, 4)
+// SVC_(NtUserEnumDisplayMonitors, 4, Wrong, number, of, param, ?)
+SVC_(NtUserEnumDisplayMonitors, 5)
+SVC_(NtUserEnumDisplaySettings, 4)
+SVC_(NtUserEvent, 1)
+SVC_(NtUserExcludeUpdateRgn, 2)
+SVC_(NtUserFillWindow, 4)
+// SVC_(NtUserFindExistingCursorIcon, 3, Wrong, number, of, param, ?)
+SVC_(NtUserFindExistingCursorIcon, 4)
+SVC_(NtUserFindWindowEx, 5)
+SVC_(NtUserFlashWindowEx, 1)
+SVC_(NtUserGetAltTabInfo, 6)
+SVC_(NtUserGetAncestor, 2)
+SVC_(NtUserGetAppImeLevel, 1)
+SVC_(NtUserGetAsyncKeyState, 1)
+SVC_(NtUserGetAtomName, 2)
+SVC_(NtUserGetCaretBlinkTime, 0)
+SVC_(NtUserGetCaretPos, 1)
+SVC_(NtUserGetClassInfo, 5)
+SVC_(NtUserGetClassName, 3)
+SVC_(NtUserGetClipboardData, 2)
+SVC_(NtUserGetClipboardFormatName, 3)
+SVC_(NtUserGetClipboardOwner, 0)
+SVC_(NtUserGetClipboardSequenceNumber, 0)
+SVC_(NtUserGetClipboardViewer, 0)
+SVC_(NtUserGetClipCursor, 1)
+SVC_(NtUserGetComboBoxInfo, 2)
+SVC_(NtUserGetControlBrush, 3)
+SVC_(NtUserGetControlColor, 4)
+SVC_(NtUserGetCPD, 3)
+SVC_(NtUserGetCursorFrameInfo, 4)
+SVC_(NtUserGetCursorInfo, 1)
+SVC_(NtUserGetDC, 1)
+SVC_(NtUserGetDCEx, 3)
+SVC_(NtUserGetDoubleClickTime, 0)
+SVC_(NtUserGetForegroundWindow, 0)
+SVC_(NtUserGetGuiResources, 2)
+SVC_(NtUserGetGUIThreadInfo, 2)
+SVC_(NtUserGetIconInfo, 6)
+SVC_(NtUserGetIconSize, 4)
+SVC_(NtUserGetImeHotKey, 4)
+SVC_(NtUserGetImeInfoEx, 2)
+SVC_(NtUserGetInternalWindowPos, 3)
+SVC_(NtUserGetKeyboardLayoutList, 2)
+SVC_(NtUserGetKeyboardLayoutName, 1)
+SVC_(NtUserGetKeyboardState, 1)
+SVC_(NtUserGetKeyNameText, 3)
+SVC_(NtUserGetKeyState, 1)
+SVC_(NtUserGetListBoxInfo, 1)
+SVC_(NtUserGetMenuBarInfo, 4)
+SVC_(NtUserGetMenuIndex, 2)
+SVC_(NtUserGetMenuItemRect, 4)
+SVC_(NtUserGetMessage, 4)
+SVC_(NtUserGetMouseMovePointsEx, 5)
+SVC_(NtUserGetObjectInformation, 5)
+SVC_(NtUserGetOpenClipboardWindow, 0)
+SVC_(NtUserGetPriorityClipboardFormat, 2)
+SVC_(NtUserGetProcessWindowStation, 0)
+SVC_(NtUserGetRawInputBuffer, 3)
+SVC_(NtUserGetRawInputData, 5)
+SVC_(NtUserGetRawInputDeviceInfo, 4)
+SVC_(NtUserGetRawInputDeviceList, 3)
+SVC_(NtUserGetRegisteredRawInputDevices, 3)
+SVC_(NtUserGetScrollBarInfo, 3)
+SVC_(NtUserGetSystemMenu, 2)
+SVC_(NtUserGetThreadDesktop, 2)
+SVC_(NtUserGetThreadState, 1)
+SVC_(NtUserGetTitleBarInfo, 2)
+SVC_(NtUserGetUpdateRect, 3)
+SVC_(NtUserGetUpdateRgn, 3)
+SVC_(NtUserGetWindowDC, 1)
+SVC_(NtUserGetWindowPlacement, 2)
+SVC_(NtUserGetWOWClass, 2)
+SVC_(NtUserHardErrorControl, 3)
+SVC_(NtUserHideCaret, 1)
+SVC_(NtUserHiliteMenuItem, 4)
+SVC_(NtUserImpersonateDdeClientWindow, 2)
+SVC_(NtUserInitialize, 3)
+SVC_(NtUserInitializeClientPfnArrays, 4)
+SVC_(NtUserInitTask, 12)
+SVC_(NtUserInternalGetWindowText, 3)
+SVC_(NtUserInvalidateRect, 3)
+SVC_(NtUserInvalidateRgn, 3)
+SVC_(NtUserIsClipboardFormatAvailable, 1)
+SVC_(NtUserKillTimer, 2)
+SVC_(NtUserLoadKeyboardLayoutEx, 7)
+SVC_(NtUserLockWindowStation, 1)
+SVC_(NtUserLockWindowUpdate, 1)
+SVC_(NtUserLockWorkStation, 0)
+SVC_(NtUserMapVirtualKeyEx, 4)
+SVC_(NtUserMenuItemFromPoint, 4)
+SVC_(NtUserMessageCall, 7)
+SVC_(NtUserMinMaximize, 3)
+SVC_(NtUserMNDragLeave, 0)
+SVC_(NtUserMNDragOver, 2)
+SVC_(NtUserModifyUserStartupInfoFlags, 2)
+SVC_(NtUserMoveWindow, 6)
+SVC_(NtUserNotifyIMEStatus, 3)
+SVC_(NtUserNotifyProcessCreate, 4)
+SVC_(NtUserNotifyWinEvent, 4)
+SVC_(NtUserOpenClipboard, 2)
+SVC_(NtUserOpenDesktop, 3)
+SVC_(NtUserOpenInputDesktop, 3)
+SVC_(NtUserOpenWindowStation, 2)
+SVC_(NtUserPaintDesktop, 1)
+SVC_(NtUserPeekMessage, 5)
+SVC_(NtUserPostMessage, 4)
+SVC_(NtUserPostThreadMessage, 4)
+SVC_(NtUserPrintWindow, 3)
+SVC_(NtUserProcessConnect, 3)
+SVC_(NtUserQueryInformationThread, 5)
+SVC_(NtUserQueryInputContext, 2)
+SVC_(NtUserQuerySendMessage, 1)
+SVC_(NtUserQueryUserCounters, 5)
+SVC_(NtUserQueryWindow, 2)
+SVC_(NtUserRealChildWindowFromPoint, 3)
+SVC_(NtUserRealInternalGetMessage, 6)
+SVC_(NtUserRealWaitMessageEx, 2)
+SVC_(NtUserRedrawWindow, 4)
+SVC_(NtUserRegisterClassExWOW, 7)
+SVC_(NtUserRegisterUserApiHook, 4)
+SVC_(NtUserRegisterHotKey, 4)
+SVC_(NtUserRegisterRawInputDevices, 3)
+SVC_(NtUserRegisterTasklist, 1)
+SVC_(NtUserRegisterWindowMessage, 1)
+SVC_(NtUserRemoveMenu, 3)
+SVC_(NtUserRemoveProp, 2)
+SVC_(NtUserResolveDesktop, 4)
+SVC_(NtUserResolveDesktopForWOW, 1)
+SVC_(NtUserSBGetParms, 4)
+SVC_(NtUserScrollDC, 7)
+SVC_(NtUserScrollWindowEx, 8)
+SVC_(NtUserSelectPalette, 3)
+SVC_(NtUserSendInput, 3)
+SVC_(NtUserSetActiveWindow, 1)
+SVC_(NtUserSetAppImeLevel, 2)
+SVC_(NtUserSetCapture, 1)
+SVC_(NtUserSetClassLong, 4)
+SVC_(NtUserSetClassWord, 3)
+SVC_(NtUserSetClipboardData, 3)
+SVC_(NtUserSetClipboardViewer, 1)
+SVC_(NtUserSetConsoleReserveKeys, 2)
+SVC_(NtUserSetCursor, 1)
+SVC_(NtUserSetCursorContents, 2)
+SVC_(NtUserSetCursorIconData, 6)
+SVC_(NtUserSetDbgTag, 2)
+SVC_(NtUserSetFocus, 1)
+SVC_(NtUserSetImeHotKey, 5)
+SVC_(NtUserSetImeInfoEx, 1)
+SVC_(NtUserSetImeOwnerWindow, 2)
+SVC_(NtUserSetInformationProcess, 4)
+SVC_(NtUserSetInformationThread, 4)
+SVC_(NtUserSetInternalWindowPos, 4)
+SVC_(NtUserSetKeyboardState, 1)
+SVC_(NtUserSetLogonNotifyWindow, 1)
+SVC_(NtUserSetMenu, 3)
+SVC_(NtUserSetMenuContextHelpId, 2)
+SVC_(NtUserSetMenuDefaultItem, 3)
+SVC_(NtUserSetMenuFlagRtoL, 1)
+SVC_(NtUserSetObjectInformation, 4)
+SVC_(NtUserSetParent, 2)
+SVC_(NtUserSetProcessWindowStation, 1)
+SVC_(NtUserSetProp, 3)
+SVC_(NtUserSetRipFlags, 2)
+SVC_(NtUserSetScrollInfo, 4)
+SVC_(NtUserSetShellWindowEx, 2)
+SVC_(NtUserSetSysColors, 4)
+SVC_(NtUserSetSystemCursor, 2)
+SVC_(NtUserSetSystemMenu, 2)
+SVC_(NtUserSetSystemTimer, 4)
+SVC_(NtUserSetThreadDesktop, 1)
+SVC_(NtUserSetThreadLayoutHandles, 2)
+SVC_(NtUserSetThreadState, 2)
+SVC_(NtUserSetTimer, 4)
+SVC_(NtUserSetWindowFNID, 2)
+SVC_(NtUserSetWindowLong, 4)
+SVC_(NtUserSetWindowPlacement, 2)
+SVC_(NtUserSetWindowPos, 7)
+SVC_(NtUserSetWindowRgn, 3)
+SVC_(NtUserSetWindowsHookAW, 3)
+SVC_(NtUserSetWindowsHookEx, 6)
+SVC_(NtUserSetWindowStationUser, 4)
+SVC_(NtUserSetWindowWord, 3)
+SVC_(NtUserSetWinEventHook, 8)
+SVC_(NtUserShowCaret, 1)
+SVC_(NtUserShowScrollBar, 3)
+SVC_(NtUserShowWindow, 2)
+SVC_(NtUserShowWindowAsync, 2)
+SVC_(NtUserSoundSentry, 0)
+SVC_(NtUserSwitchDesktop, 1)
+SVC_(NtUserSystemParametersInfo, 4)
+SVC_(NtUserTestForInteractiveUser, 1)
+SVC_(NtUserThunkedMenuInfo, 2)
+SVC_(NtUserThunkedMenuItemInfo, 6)
+SVC_(NtUserToUnicodeEx, 7)
+SVC_(NtUserTrackMouseEvent, 1)
+SVC_(NtUserTrackPopupMenuEx, 6)
+SVC_(NtUserCalcMenuBar, 5)
+SVC_(NtUserPaintMenuBar, 6)
+SVC_(NtUserTranslateAccelerator, 3)
+SVC_(NtUserTranslateMessage, 2)
+SVC_(NtUserUnhookWindowsHookEx, 1)
+SVC_(NtUserUnhookWinEvent, 1)
+SVC_(NtUserUnloadKeyboardLayout, 1)
+SVC_(NtUserUnlockWindowStation, 1)
+SVC_(NtUserUnregisterClass, 3)
+SVC_(NtUserUnregisterUserApiHook, 0)
+SVC_(NtUserUnregisterHotKey, 2)
+SVC_(NtUserUpdateInputContext, 3)
+SVC_(NtUserUpdateInstance, 3)
+SVC_(NtUserUpdateLayeredWindow, 10)
+SVC_(NtUserGetLayeredWindowAttributes, 4)
+SVC_(NtUserSetLayeredWindowAttributes, 4)
+SVC_(NtUserUpdatePerUserSystemParameters, 2)
+SVC_(NtUserUserHandleGrantAccess, 3)
+SVC_(NtUserValidateHandleSecure, 2)
+SVC_(NtUserValidateRect, 2)
+SVC_(NtUserValidateTimerCallback, 3)
+SVC_(NtUserVkKeyScanEx, 3)
+SVC_(NtUserWaitForInputIdle, 3)
+SVC_(NtUserWaitForMsgAndEvent, 1)
+SVC_(NtUserWaitMessage, 0)
+SVC_(NtUserWin32PoolAllocationStats, 6)
+SVC_(NtUserWindowFromPhysicalPoint, 2)
+SVC_(NtUserWindowFromPoint, 2)
+SVC_(NtUserYieldTask, 0)
+SVC_(NtUserRemoteConnect, 3)
+SVC_(NtUserRemoteRedrawRectangle, 4)
+SVC_(NtUserRemoteRedrawScreen, 0)
+SVC_(NtUserRemoteStopScreenUpdates, 0)
+SVC_(NtUserCtxDisplayIOCtl, 3)
+SVC_(NtGdiEngAssociateSurface, 3)
+SVC_(NtGdiEngCreateBitmap, 6)
+SVC_(NtGdiEngCreateDeviceSurface, 4)
+SVC_(NtGdiEngCreateDeviceBitmap, 4)
+SVC_(NtGdiEngCreatePalette, 6)
+SVC_(NtGdiEngComputeGlyphSet, 3)
+SVC_(NtGdiEngCopyBits, 6)
+SVC_(NtGdiEngDeletePalette, 1)
+SVC_(NtGdiEngDeleteSurface, 1)
+SVC_(NtGdiEngEraseSurface, 3)
+SVC_(NtGdiEngUnlockSurface, 1)
+SVC_(NtGdiEngLockSurface, 1)
+SVC_(NtGdiEngBitBlt, 11)
+SVC_(NtGdiEngStretchBlt, 11)
+SVC_(NtGdiEngPlgBlt, 11)
+SVC_(NtGdiEngMarkBandingSurface, 1)
+SVC_(NtGdiEngStrokePath, 8)
+SVC_(NtGdiEngFillPath, 7)
+SVC_(NtGdiEngStrokeAndFillPath, 10)
+SVC_(NtGdiEngPaint, 5)
+SVC_(NtGdiEngLineTo, 9)
+SVC_(NtGdiEngAlphaBlend, 7)
+SVC_(NtGdiEngGradientFill, 10)
+SVC_(NtGdiEngTransparentBlt, 8)
+SVC_(NtGdiEngTextOut, 10)
+SVC_(NtGdiEngStretchBltROP, 13)
+SVC_(NtGdiXLATEOBJ_cGetPalette, 4)
+SVC_(NtGdiXLATEOBJ_iXlate, 2)
+SVC_(NtGdiXLATEOBJ_hGetColorTransform, 1)
+SVC_(NtGdiCLIPOBJ_bEnum, 3)
+SVC_(NtGdiCLIPOBJ_cEnumStart, 5)
+SVC_(NtGdiCLIPOBJ_ppoGetPath, 1)
+SVC_(NtGdiEngDeletePath, 1)
+SVC_(NtGdiEngCreateClip, 0)
+SVC_(NtGdiEngDeleteClip, 1)
+SVC_(NtGdiBRUSHOBJ_ulGetBrushColor, 1)
+SVC_(NtGdiBRUSHOBJ_pvAllocRbrush, 2)
+SVC_(NtGdiBRUSHOBJ_pvGetRbrush, 1)
+SVC_(NtGdiBRUSHOBJ_hGetColorTransform, 1)
+SVC_(NtGdiXFORMOBJ_bApplyXform, 5)
+SVC_(NtGdiXFORMOBJ_iGetXform, 2)
+SVC_(NtGdiFONTOBJ_vGetInfo, 3)
+SVC_(NtGdiFONTOBJ_pxoGetXform, 1)
+SVC_(NtGdiFONTOBJ_cGetGlyphs, 5)
+SVC_(NtGdiFONTOBJ_pifi, 1)
+SVC_(NtGdiFONTOBJ_pfdg, 1)
+SVC_(NtGdiFONTOBJ_pQueryGlyphAttrs, 2)
+SVC_(NtGdiFONTOBJ_pvTrueTypeFontFile, 2)
+SVC_(NtGdiFONTOBJ_cGetAllGlyphHandles, 2)
+SVC_(NtGdiSTROBJ_bEnum, 3)
+SVC_(NtGdiSTROBJ_bEnumPositionsOnly, 3)
+SVC_(NtGdiSTROBJ_bGetAdvanceWidths, 4)
+SVC_(NtGdiSTROBJ_vEnumStart, 1)
+SVC_(NtGdiSTROBJ_dwGetCodePage, 1)
+SVC_(NtGdiPATHOBJ_vGetBounds, 2)
+SVC_(NtGdiPATHOBJ_bEnum, 2)
+SVC_(NtGdiPATHOBJ_vEnumStart, 1)
+SVC_(NtGdiPATHOBJ_vEnumStartClipLines, 4)
+SVC_(NtGdiPATHOBJ_bEnumClipLines, 3)
+SVC_(NtGdiGetDhpdev, 1)
+SVC_(NtGdiEngCheckAbort, 1)
+SVC_(NtGdiHT_Get8BPPFormatPalette, 4)
+SVC_(NtGdiHT_Get8BPPMaskPalette, 6)
+SVC_(NtGdiUpdateTransform, 1)
+SVC_(NtGdiSetPUMPDOBJ, 4)
+SVC_(NtGdiBRUSHOBJ_DeleteRbrush, 2)
+SVC_(NtGdiUMPDEngFreeUserMem, 1)
+SVC_(NtGdiDrawStream, 3)
+
+
+// ReactOS, specific, syscalls)
+SVC_(NtGdiSetDIBits, 7)
+SVC_(NtGdiSetViewportOrgEx, 4)
+SVC_(NtGdiSetWindowOrgEx, 4)
+SVC_(NtGdiGetFontFamilyInfo, 4)
+SVC_(NtGdiOffsetViewportOrgEx, 4)
+SVC_(NtGdiOffsetWindowOrgEx, 4)
+
+SVC_(NtUserBuildMenuItemList, 4)
+SVC_(NtUserGetMenuDefaultItem, 3)
+SVC_(NtUserGetLastInputInfo, 1)
+SVC_(NtUserGetMinMaxInfo, 3)
+SVC_(NtUserGetMonitorInfo, 2)
+SVC_(NtUserMenuInfo, 3)
+SVC_(NtUserMenuItemInfo, 5)
+SVC_(NtUserMonitorFromPoint, 3)
+SVC_(NtUserMonitorFromRect, 2)
+SVC_(NtUserMonitorFromWindow, 2)
+SVC_(NtUserSetScrollBarInfo, 3)
index a18cb1c..a472d21 100644 (file)
                <file>umpdstubs.c</file>
        </directory>
 </module>
+<module name="win32ksys" type="staticlibrary">
+       <include base="ReactOS">include/reactos</include>
+       <file>sys-stubs.S</file>
+</module>
 </group>