Author: greatlrd
Date: Sun Sep 2 15:28:34 2007
New Revision: 28767
URL:
http://svn.reactos.org/svn/reactos?rev=28767&view=rev
Log:
implement stub for NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiSelectFont, NtGdiSelectPen,
NtGdiSetBitmapAttributes, NtGdiSetFontEnumeration, NtGdiSetFontXform, NtGdiSetLinkedUFIs,
NtGdiSetMagicColors, NtGdiGetDeviceWidth, NtGdiMirrorWindowOrg, NtGdiSetLayout,
NtGdiStretchDIBitsInternal, NtGdiUnloadPrinterDriver, NtGdiUnmapMemFont
Modified:
trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
trunk/reactos/subsystems/win32/win32k/w32ksvc.db
Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/st…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c Sun Sep 2 15:28:34 2007
@@ -3413,3 +3413,212 @@
return FALSE;
}
+ /*
+ * @unimplemented
+ */
+HBITMAP
+STDCALL
+NtGdiSelectBitmap(
+ IN HDC hdc,
+ IN HBITMAP hbm)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+HBRUSH
+STDCALL
+NtGdiSelectBrush(
+ IN HDC hdc,
+ IN HBRUSH hbrush)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+HFONT
+STDCALL
+NtGdiSelectFont(
+ IN HDC hdc,
+ IN HFONT hf)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+HPEN
+STDCALL
+NtGdiSelectPen(
+ IN HDC hdc,
+ IN HPEN hpen)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+HBITMAP
+STDCALL
+NtGdiSetBitmapAttributes(
+ IN HBITMAP hbm,
+ IN DWORD dwFlags)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiSetFontEnumeration(
+ IN ULONG ulType)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSetFontXform(
+ IN HDC hdc,
+ IN DWORD dwxScale,
+ IN DWORD dwyScale)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSetLinkedUFIs(
+ IN HDC hdc,
+ IN PUNIVERSAL_FONT_ID pufiLinks,
+ IN ULONG uNumUFIs)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSetMagicColors(
+ IN HDC hdc,
+ IN PALETTEENTRY peMagic,
+ IN ULONG Index)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+LONG
+STDCALL
+NtGdiGetDeviceWidth(
+ IN HDC hdc)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiMirrorWindowOrg(
+ IN HDC hdc)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiSetLayout(
+ IN HDC hdc,
+ IN LONG wox,
+ IN DWORD dwLayout)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+INT
+STDCALL
+NtGdiStretchDIBitsInternal(
+ IN HDC hdc,
+ IN INT xDst,
+ IN INT yDst,
+ IN INT cxDst,
+ IN INT cyDst,
+ IN INT xSrc,
+ IN INT ySrc,
+ IN INT cxSrc,
+ IN INT cySrc,
+ IN OPTIONAL LPBYTE pjInit,
+ IN LPBITMAPINFO pbmi,
+ IN DWORD dwUsage,
+ IN DWORD dwRop4,
+ IN UINT cjMaxInfo,
+ IN UINT cjMaxBits,
+ IN HANDLE hcmXform)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiUnloadPrinterDriver(
+ IN LPWSTR pDriverName,
+ IN ULONG cbDriverName)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiUnmapMemFont(
+ IN PVOID pvView)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
Modified: trunk/reactos/subsystems/win32/win32k/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w3…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/w32ksvc.db (original)
+++ trunk/reactos/subsystems/win32/win32k/w32ksvc.db Sun Sep 2 15:28:34 2007
@@ -263,12 +263,12 @@
NtGdiSaveDC 1
NtGdiScaleViewportExtEx 6
NtGdiScaleWindowExtEx 6
-# NtGdiSelectBitmap 2
-# NtGdiSelectBrush 2
+NtGdiSelectBitmap 2
+NtGdiSelectBrush 2
NtGdiSelectClipPath 2
-# NtGdiSelectFont 2
-# NtGdiSelectPen 2
-# NtGdiSetBitmapAttributes 2
+NtGdiSelectFont 2
+NtGdiSelectPen 2
+NtGdiSetBitmapAttributes 2
NtGdiSetBitmapBits 3
NtGdiSetBitmapDimension 4
NtGdiSetBoundsRect 3
@@ -278,16 +278,16 @@
NtGdiSetColorSpace 2
NtGdiSetDeviceGammaRamp 2
NtGdiSetDIBitsToDeviceInternal 16
-# NtGdiSetFontEnumeration 1
-# NtGdiSetFontXform 3
+NtGdiSetFontEnumeration 1
+NtGdiSetFontXform 3
NtGdiSetIcmMode 3
-# NtGdiSetLinkedUFIs 3
-# NtGdiSetMagicColors 3
+NtGdiSetLinkedUFIs 3
+NtGdiSetMagicColors 3
NtGdiSetMetaRgn 1
NtGdiSetMiterLimit 3
-# NtGdiGetDeviceWidth 1
-# NtGdiMirrorWindowOrg 1
-# NtGdiSetLayout 3
+NtGdiGetDeviceWidth 1
+NtGdiMirrorWindowOrg 1
+NtGdiSetLayout 3
NtGdiSetPixel 4
NtGdiSetPixelFormat 2
NtGdiSetRectRgn 5
@@ -299,14 +299,14 @@
NtGdiStartDoc 4
NtGdiStartPage 1
NtGdiStretchBlt 12
-# NtGdiStretchDIBitsInternal 16
+NtGdiStretchDIBitsInternal 16
NtGdiStrokeAndFillPath 1
NtGdiStrokePath 1
NtGdiSwapBuffers 1
NtGdiTransformPoints 5
NtGdiTransparentBlt 11
-# NtGdiUnloadPrinterDriver 2
-# NtGdiUnmapMemFont 1
+NtGdiUnloadPrinterDriver 2
+NtGdiUnmapMemFont 1
NtGdiUnrealizeObject 1
NtGdiUpdateColors 1
NtGdiWidenPath 1