Author: greatlrd
Date: Sun Sep 2 14:14:28 2007
New Revision: 28762
URL:
http://svn.reactos.org/svn/reactos?rev=28762&view=rev
Log:
Implement stub for NtGdiGetServerMetaFileBits, NtGdiGetStats, NtGdiPolyTextOutW,
NtGdiRemoveFontResourceW, NtGdiRemoveFontMemResourceEx, NtGdiSetBrushAttributes,
NtGdiSetupPublicCFONT,
NtGdiSetVirtualResolution, NtGdiSetSizeDevice, NtGdiXLATEOBJ_cGetPalette,
NtGdiXLATEOBJ_iXlate, NtGdiXLATEOBJ_hGetColorTransform, NtGdiXFORMOBJ_bApplyXform,
NtGdiXFORMOBJ_iGetXform
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 14:14:28 2007
@@ -2947,3 +2947,210 @@
UNIMPLEMENTED;
}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiRemoveFontMemResourceEx(
+ IN HANDLE hMMFont)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiRemoveFontResourceW(
+ IN WCHAR *pwszFiles,
+ IN ULONG cwc,
+ IN ULONG cFiles,
+ IN ULONG fl,
+ IN DWORD dwPidTid,
+ IN OPTIONAL DESIGNVECTOR *pdv)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiPolyTextOutW(
+ IN HDC hdc,
+ IN POLYTEXTW *pptw,
+ IN UINT cStr,
+ IN DWORD dwCodePage)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiGetServerMetaFileBits(
+ IN HANDLE hmo,
+ IN ULONG cjData,
+ OUT OPTIONAL LPBYTE pjData,
+ OUT PDWORD piType,
+ OUT PDWORD pmm,
+ OUT PDWORD pxExt,
+ OUT PDWORD pyExt)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtGdiGetStats(
+ IN HANDLE hProcess,
+ IN INT iIndex,
+ IN INT iPidType,
+ OUT PVOID pResults,
+ IN UINT cjResultSize)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiXLATEOBJ_cGetPalette(
+ IN XLATEOBJ *pxlo,
+ IN ULONG iPal,
+ IN ULONG cPal,
+ OUT ULONG *pPal)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiXLATEOBJ_iXlate(
+ IN XLATEOBJ *pxlo,
+ IN ULONG iColor)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+NtGdiXLATEOBJ_hGetColorTransform(
+ IN XLATEOBJ *pxlo)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiXFORMOBJ_bApplyXform(
+ IN XFORMOBJ *pxo,
+ IN ULONG iMode,
+ IN ULONG cPoints,
+ IN PVOID pvIn,
+ OUT PVOID pvOut)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiXFORMOBJ_iGetXform(
+ IN XFORMOBJ *pxo,
+ OUT OPTIONAL XFORML *pxform)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSetSizeDevice(
+ IN HDC hdc,
+ IN INT cxVirtualDevice,
+ IN INT cyVirtualDevice)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSetVirtualResolution(
+ IN HDC hdc,
+ IN INT cxVirtualDevicePixel,
+ IN INT cyVirtualDevicePixel,
+ IN INT cxVirtualDeviceMm,
+ IN INT cyVirtualDeviceMm)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+INT
+STDCALL
+NtGdiSetupPublicCFONT(
+ IN HDC hdc,
+ IN OPTIONAL HFONT hf,
+ IN ULONG ulAve)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+HBRUSH
+STDCALL
+NtGdiSetBrushAttributes(
+ IN HBRUSH hbm,
+ IN DWORD dwFlags)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
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 14:14:28 2007
@@ -203,9 +203,9 @@
NtGdiGetRealizationInfo 3
NtGdiGetRegionData 3
NtGdiGetRgnBox 2
-# NtGdiGetServerMetaFileBits 7
+NtGdiGetServerMetaFileBits 7
NtGdiGetSpoolMessage 4
-# NtGdiGetStats 5
+NtGdiGetStats 5
NtGdiGetStockObject 1
NtGdiGetStringBitmapW 5
NtGdiGetSystemPaletteUse 1
@@ -246,7 +246,7 @@
NtGdiPlgBlt 11
NtGdiPolyDraw 4
NtGdiPolyPolyDraw 5
-# NtGdiPolyTextOutW 4
+NtGdiPolyTextOutW 4
NtGdiPtInRegion 3
NtGdiPtVisible 3
NtGdiQueryFonts 3
@@ -254,8 +254,8 @@
NtGdiRectangle 5
NtGdiRectInRegion 2
NtGdiRectVisible 2
-# NtGdiRemoveFontResourceW 6
-# NtGdiRemoveFontMemResourceEx 1
+NtGdiRemoveFontResourceW 6
+NtGdiRemoveFontMemResourceEx 1
NtGdiResetDC 5
NtGdiResizePalette 2
NtGdiRestoreDC 2
@@ -272,7 +272,7 @@
NtGdiSetBitmapBits 3
NtGdiSetBitmapDimension 4
NtGdiSetBoundsRect 3
-# NtGdiSetBrushAttributes 2
+NtGdiSetBrushAttributes 2
NtGdiSetBrushOrg 4
NtGdiSetColorAdjustment 2
NtGdiSetColorSpace 2
@@ -293,9 +293,9 @@
NtGdiSetRectRgn 5
NtGdiSetSystemPaletteUse 2
NtGdiSetTextJustification 3
-# NtGdiSetupPublicCFONT 3
-# NtGdiSetVirtualResolution 5
-# NtGdiSetSizeDevice 3
+NtGdiSetupPublicCFONT 3
+NtGdiSetVirtualResolution 5
+NtGdiSetSizeDevice 3
NtGdiStartDoc 4
NtGdiStartPage 1
NtGdiStretchBlt 12
@@ -631,9 +631,9 @@
NtGdiEngTransparentBlt 8
NtGdiEngTextOut 10
NtGdiEngStretchBltROP 13
-# NtGdiXLATEOBJ_cGetPalette 4
-# NtGdiXLATEOBJ_iXlate 2
-# NtGdiXLATEOBJ_hGetColorTransform 1
+NtGdiXLATEOBJ_cGetPalette 4
+NtGdiXLATEOBJ_iXlate 2
+NtGdiXLATEOBJ_hGetColorTransform 1
NtGdiCLIPOBJ_bEnum 3
NtGdiCLIPOBJ_cEnumStart 5
NtGdiCLIPOBJ_ppoGetPath 1
@@ -644,8 +644,8 @@
NtGdiBRUSHOBJ_pvAllocRbrush 2
NtGdiBRUSHOBJ_pvGetRbrush 1
NtGdiBRUSHOBJ_hGetColorTransform 1
-# NtGdiXFORMOBJ_bApplyXform 5
-# NtGdiXFORMOBJ_iGetXform 2
+NtGdiXFORMOBJ_bApplyXform 5
+NtGdiXFORMOBJ_iGetXform 2
NtGdiFONTOBJ_vGetInfo 3
NtGdiFONTOBJ_pxoGetXform 1
NtGdiFONTOBJ_cGetGlyphs 5