Author: greatlrd
Date: Sun Aug 26 23:56:06 2007
New Revision: 28579
URL:
http://svn.reactos.org/svn/reactos?rev=28579&view=rev
Log:
Implement stub for NtGdiAddFontResourceW, NtGdiAddRemoteFontToDC,
NtGdiAddFontMemResourceEx, NtGdiRemoveMergeFont, NtGdiAddRemoteMMInstanceToDC,
NtGdiFontIsLinked, NtGdiCheckBitmapBits, NtGdiClearBitmapAttributes,
NtGdiCreateDIBitmapInternal, NtGdiCreateMetafileDC, NtGdiCreatePaletteInternal,
NtGdiCreateServerMetaFile, NtGdiGetUFI, NtGdiFONTOBJ_vGetInfo, NtGdiFONTOBJ_pxoGetXform,
NtGdiFONTOBJ_cGetGlyphs, NtGdiFONTOBJ_pifi, NtGdiFONTOBJ_pfdg,
NtGdiFONTOBJ_pQueryGlyphAttrs, NtGdiFONTOBJ_pvTrueTypeFontFile,
NtGdiFONTOBJ_cGetAllGlyphHandles
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 Aug 26 23:56:06 2007
@@ -1672,4 +1672,301 @@
return NULL;
}
-
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiFONTOBJ_cGetAllGlyphHandles(IN FONTOBJ *FontObj,
+ IN HGLYPH *Glyphs)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiFONTOBJ_cGetGlyphs(IN FONTOBJ *FontObj,
+ IN ULONG Mode,
+ IN ULONG NumGlyphs,
+ IN HGLYPH *GlyphHandles,
+ IN PVOID *OutGlyphs)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+NtGdiAddFontResourceW(
+ IN WCHAR *pwszFiles,
+ IN ULONG cwc,
+ IN ULONG cFiles,
+ IN FLONG f,
+ IN DWORD dwPidTid,
+ IN OPTIONAL DESIGNVECTOR *pdv)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiAddRemoteFontToDC(
+ IN HDC hdc,
+ IN PVOID pvBuffer,
+ IN ULONG cjBuffer,
+ IN OPTIONAL PUNIVERSAL_FONT_ID pufi)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+NtGdiAddFontMemResourceEx(
+ IN PVOID pvBuffer,
+ IN DWORD cjBuffer,
+ IN DESIGNVECTOR *pdv,
+ IN ULONG cjDV,
+ OUT DWORD *pNumFonts
+)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiRemoveMergeFont(
+ IN HDC hdc,
+ IN UNIVERSAL_FONT_ID *pufi)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+NtGdiAddRemoteMMInstanceToDC(
+ IN HDC hdc,
+ IN DOWNLOADDESIGNVECTOR *pddv,
+ IN ULONG cjDDV)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiFontIsLinked(IN HDC hdc)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiCheckBitmapBits(
+ IN HDC hdc,
+ IN HANDLE hColorTransform,
+ IN PVOID pvBits,
+ IN ULONG bmFormat,
+ IN DWORD dwWidth,
+ IN DWORD dwHeight,
+ IN DWORD dwStride,
+ OUT PBYTE paResults)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+NtGdiCreateServerMetaFile(
+ IN DWORD iType,
+ IN ULONG cjData,
+ IN LPBYTE pjData,
+ IN DWORD mm,
+ IN DWORD xExt,
+ IN DWORD yExt)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+ /*
+ * @unimplemented
+ */
+
+HDC
+STDCALL
+NtGdiCreateMetafileDC(IN HDC hdc)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+ /*
+ * @unimplemented
+ */
+
+HBITMAP
+STDCALL
+NtGdiCreateDIBitmapInternal(
+ IN HDC hdc,
+ IN INT cx,
+ IN INT cy,
+ IN DWORD fInit,
+ IN OPTIONAL LPBYTE pjInit,
+ IN OPTIONAL LPBITMAPINFO pbmi,
+ IN DWORD iUsage,
+ IN UINT cjMaxInitInfo,
+ IN UINT cjMaxBits,
+ IN FLONG f,
+ IN HANDLE hcmXform)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+ /*
+ * @unimplemented
+ */
+HBITMAP
+STDCALL
+NtGdiClearBitmapAttributes(
+ IN HBITMAP hbm,
+ IN DWORD dwFlags)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiGetUFI(
+ IN HDC hdc,
+ OUT PUNIVERSAL_FONT_ID pufi,
+ OUT OPTIONAL DESIGNVECTOR *pdv,
+ OUT ULONG *pcjDV,
+ OUT ULONG *pulBaseCheckSum,
+ OUT FLONG *pfl)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+PFD_GLYPHATTR
+STDCALL
+NtGdiFONTOBJ_pQueryGlyphAttrs(
+ IN FONTOBJ *pfo,
+ IN ULONG iMode)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+IFIMETRICS*
+STDCALL
+NtGdiFONTOBJ_pifi(
+ IN FONTOBJ *pfo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+FD_GLYPHSET*
+STDCALL
+NtGdiFONTOBJ_pfdg(IN FONTOBJ *pfo)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+NtGdiFONTOBJ_pvTrueTypeFontFile(
+ IN FONTOBJ *pfo,
+ OUT ULONG *pcjFile
+)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+VOID
+STDCALL
+NtGdiFONTOBJ_vGetInfo(
+ IN FONTOBJ *pfo,
+ IN ULONG cjSize,
+ OUT FONTINFO *pfi)
+{
+ UNIMPLEMENTED;
+}
+
+ /*
+ * @unimplemented
+ */
+XFORMOBJ*
+STDCALL
+NtGdiFONTOBJ_pxoGetXform(IN FONTOBJ *pfo)
+{
+ 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 Aug 26 23:56:06 2007
@@ -8,22 +8,22 @@
#
NtGdiAbortDoc 1
NtGdiAbortPath 1
-# NtGdiAddFontResourceW 6
-# NtGdiAddRemoteFontToDC 4
-# NtGdiAddFontMemResourceEx 5
-# NtGdiRemoveMergeFont 2
-# NtGdiAddRemoteMMInstanceToDC 3
+NtGdiAddFontResourceW 6
+NtGdiAddRemoteFontToDC 4
+NtGdiAddFontMemResourceEx 5
+NtGdiRemoveMergeFont 2
+NtGdiAddRemoteMMInstanceToDC 3
NtGdiAlphaBlend 12
NtGdiAngleArc 6
NtGdiAnyLinkedFonts 0
-# NtGdiFontIsLinked 1
+NtGdiFontIsLinked 1
NtGdiArcInternal 10
NtGdiBeginPath 1
NtGdiBitBlt 11
NtGdiCancelDC 1
-# NtGdiCheckBitmapBits 8
+NtGdiCheckBitmapBits 8
NtGdiCloseFigure 1
-# NtGdiClearBitmapAttributes 2
+NtGdiClearBitmapAttributes 2
# NtGdiClearBrushAttributes 2
# NtGdiColorCorrectPalette 6
NtGdiCombineRgn 4
@@ -38,18 +38,18 @@
NtGdiCreateCompatibleBitmap 3
NtGdiCreateCompatibleDC 1
NtGdiCreateDIBBrush 6
-#NtGdiCreateDIBitmapInternal 11
+NtGdiCreateDIBitmapInternal 11
NtGdiCreateDIBSection 9
NtGdiCreateEllipticRgn 4
NtGdiCreateHalftonePalette 1
NtGdiCreateHatchBrushInternal 3
-# NtGdiCreateMetafileDC 1
-NtGdiCreatePaletteInternal 2
+NtGdiCreateMetafileDC 1
+NtGdiCreatePaletteInternal 2
NtGdiCreatePatternBrushInternal 3
NtGdiCreatePen 4
NtGdiCreateRectRgn 4
NtGdiCreateRoundRectRgn 6
-#NtGdiCreateServerMetaFile 6
+NtGdiCreateServerMetaFile 6
NtGdiCreateSolidBrush 2
NtGdiD3dContextCreate 4
NtGdiD3dContextDestroy 1
@@ -215,7 +215,7 @@
NtGdiGetTextFaceW 4
NtGdiGetTextMetricsW 3
NtGdiGetTransform 3
-# NtGdiGetUFI 6
+NtGdiGetUFI 6
# NtGdiGetEmbUFI 7
# NtGdiGetUFIPathname 10
# NtGdiGetEmbedFonts 0
@@ -646,14 +646,14 @@
NtGdiBRUSHOBJ_hGetColorTransform 1
# NtGdiXFORMOBJ_bApplyXform 5
# NtGdiXFORMOBJ_iGetXform 2
-# NtGdiFONTOBJ_vGetInfo 3
-# NtGdiFONTOBJ_pxoGetXform 1
-# NtGdiFONTOBJ_cGetGlyphs 5
-# NtGdiFONTOBJ_pifi 1
-# NtGdiFONTOBJ_pfdg 1
-# NtGdiFONTOBJ_pQueryGlyphAttrs 2
-# NtGdiFONTOBJ_pvTrueTypeFontFile 2
-# NtGdiFONTOBJ_cGetAllGlyphHandles 2
+NtGdiFONTOBJ_vGetInfo 3
+NtGdiFONTOBJ_pxoGetXform 1
+NtGdiFONTOBJ_cGetGlyphs 5
+NtGdiFONTOBJ_pifi 1
+NtGdiFONTOBJ_pfdg 1
+NtGdiFONTOBJ_pQueryGlyphAttrs 2
+NtGdiFONTOBJ_pvTrueTypeFontFile 2
+NtGdiFONTOBJ_cGetAllGlyphHandles 2
# NtGdiSTROBJ_bEnum 3
# NtGdiSTROBJ_bEnumPositionsOnly 3
# NtGdiSTROBJ_bGetAdvanceWidths 4