Author: greatlrd
Date: Sun Sep 2 14:33:02 2007
New Revision: 28763
URL:
http://svn.reactos.org/svn/reactos?rev=28763&view=rev
Log:
implement stub for NtGdiGetEmbUFI, NtGdiGetUFIPathname, NtGdiGetEmbedFonts,
NtGdiChangeGhostFont, NtGdiAddEmbFontToDC, NtGdiGetWidthTable, NtGdiSTROBJ_bEnum,
NtGdiSTROBJ_bEnumPositionsOnly, NtGdiSTROBJ_bGetAdvanceWidths, NtGdiSTROBJ_vEnumStart,
NtGdiSTROBJ_dwGetCodePage, NtGdiGetDhpdev
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:33:02 2007
@@ -3154,3 +3154,175 @@
return NULL;
}
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSTROBJ_bEnum(
+ IN STROBJ *pstro,
+ OUT ULONG *pc,
+ OUT PGLYPHPOS *ppgpos)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSTROBJ_bEnumPositionsOnly(
+ IN STROBJ *pstro,
+ OUT ULONG *pc,
+ OUT PGLYPHPOS *ppgpos)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiSTROBJ_bGetAdvanceWidths(
+ IN STROBJ*pstro,
+ IN ULONG iFirst,
+ IN ULONG c,
+ OUT POINTQF*pptqD)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+VOID
+STDCALL
+NtGdiSTROBJ_vEnumStart(
+ IN STROBJ *pstro)
+{
+ UNIMPLEMENTED;
+}
+
+ /*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+NtGdiSTROBJ_dwGetCodePage(
+ IN STROBJ *pstro)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+DHPDEV
+NtGdiGetDhpdev(
+ IN HDEV hdev)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiGetEmbUFI(
+ IN HDC hdc,
+ OUT PUNIVERSAL_FONT_ID pufi,
+ OUT OPTIONAL DESIGNVECTOR *pdv,
+ OUT ULONG *pcjDV,
+ OUT ULONG *pulBaseCheckSum,
+ OUT FLONG *pfl,
+ OUT KERNEL_PVOID *embFontID)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiGetUFIPathname(
+ IN PUNIVERSAL_FONT_ID pufi,
+ OUT OPTIONAL ULONG* pcwc,
+ OUT OPTIONAL LPWSTR pwszPathname,
+ OUT OPTIONAL ULONG* pcNumFiles,
+ IN FLONG fl,
+ OUT OPTIONAL BOOL *pbMemFont,
+ OUT OPTIONAL ULONG *pcjView,
+ OUT OPTIONAL PVOID pvView,
+ OUT OPTIONAL BOOL *pbTTC,
+ OUT OPTIONAL ULONG *piTTC)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtGdiGetEmbedFonts(
+ VOID)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiChangeGhostFont(
+ IN KERNEL_PVOID *pfontID,
+ IN BOOL bLoad)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiAddEmbFontToDC(
+ IN HDC hdc,
+ IN VOID **pFontID)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ /*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtGdiGetWidthTable(
+ IN HDC hdc,
+ IN ULONG cSpecial,
+ IN WCHAR *pwc,
+ IN ULONG cwc,
+ OUT USHORT *psWidth,
+ OUT OPTIONAL WIDTHDATA *pwd,
+ OUT FLONG *pflInfo)
+{
+ 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 14:33:02 2007
@@ -216,13 +216,13 @@
NtGdiGetTextMetricsW 3
NtGdiGetTransform 3
NtGdiGetUFI 6
-# NtGdiGetEmbUFI 7
-# NtGdiGetUFIPathname 10
-# NtGdiGetEmbedFonts 0
-# NtGdiChangeGhostFont 2
-# NtGdiAddEmbFontToDC 2
+NtGdiGetEmbUFI 7
+NtGdiGetUFIPathname 10
+NtGdiGetEmbedFonts 0
+NtGdiChangeGhostFont 2
+NtGdiAddEmbFontToDC 2
NtGdiGetFontUnicodeRanges 2
-# NtGdiGetWidthTable 7
+NtGdiGetWidthTable 7
NtGdiGradientFill 6
NtGdiHfontCreate 5
# NtGdiIcmBrushInfo 8
@@ -654,17 +654,17 @@
NtGdiFONTOBJ_pQueryGlyphAttrs 2
NtGdiFONTOBJ_pvTrueTypeFontFile 2
NtGdiFONTOBJ_cGetAllGlyphHandles 2
-# NtGdiSTROBJ_bEnum 3
-# NtGdiSTROBJ_bEnumPositionsOnly 3
-# NtGdiSTROBJ_bGetAdvanceWidths 4
-# NtGdiSTROBJ_vEnumStart 1
-# NtGdiSTROBJ_dwGetCodePage 1
+NtGdiSTROBJ_bEnum 3
+NtGdiSTROBJ_bEnumPositionsOnly 3
+NtGdiSTROBJ_bGetAdvanceWidths 4
+NtGdiSTROBJ_vEnumStart 1
+NtGdiSTROBJ_dwGetCodePage 1
NtGdiPATHOBJ_vGetBounds 2
NtGdiPATHOBJ_bEnum 2
NtGdiPATHOBJ_vEnumStart 1
NtGdiPATHOBJ_vEnumStartClipLines 4
NtGdiPATHOBJ_bEnumClipLines 3
-# NtGdiGetDhpdev 1
+NtGdiGetDhpdev 1
NtGdiEngCheckAbort 1
NtGdiHT_Get8BPPFormatPalette 4
NtGdiHT_Get8BPPMaskPalette 6