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

svn path=/trunk/; revision=28579
This commit is contained in:
Magnus Olsen 2007-08-26 19:56:06 +00:00
parent d45b397464
commit 2f4d36ee4d
2 changed files with 318 additions and 21 deletions

View file

@ -1672,4 +1672,301 @@ NtGdiEngComputeGlyphSet( INT nCodePage,
return NULL; 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;
}

View file

@ -8,22 +8,22 @@
# #
NtGdiAbortDoc 1 NtGdiAbortDoc 1
NtGdiAbortPath 1 NtGdiAbortPath 1
# NtGdiAddFontResourceW 6 NtGdiAddFontResourceW 6
# NtGdiAddRemoteFontToDC 4 NtGdiAddRemoteFontToDC 4
# NtGdiAddFontMemResourceEx 5 NtGdiAddFontMemResourceEx 5
# NtGdiRemoveMergeFont 2 NtGdiRemoveMergeFont 2
# NtGdiAddRemoteMMInstanceToDC 3 NtGdiAddRemoteMMInstanceToDC 3
NtGdiAlphaBlend 12 NtGdiAlphaBlend 12
NtGdiAngleArc 6 NtGdiAngleArc 6
NtGdiAnyLinkedFonts 0 NtGdiAnyLinkedFonts 0
# NtGdiFontIsLinked 1 NtGdiFontIsLinked 1
NtGdiArcInternal 10 NtGdiArcInternal 10
NtGdiBeginPath 1 NtGdiBeginPath 1
NtGdiBitBlt 11 NtGdiBitBlt 11
NtGdiCancelDC 1 NtGdiCancelDC 1
# NtGdiCheckBitmapBits 8 NtGdiCheckBitmapBits 8
NtGdiCloseFigure 1 NtGdiCloseFigure 1
# NtGdiClearBitmapAttributes 2 NtGdiClearBitmapAttributes 2
# NtGdiClearBrushAttributes 2 # NtGdiClearBrushAttributes 2
# NtGdiColorCorrectPalette 6 # NtGdiColorCorrectPalette 6
NtGdiCombineRgn 4 NtGdiCombineRgn 4
@ -38,18 +38,18 @@ NtGdiCreateColorSpace 1
NtGdiCreateCompatibleBitmap 3 NtGdiCreateCompatibleBitmap 3
NtGdiCreateCompatibleDC 1 NtGdiCreateCompatibleDC 1
NtGdiCreateDIBBrush 6 NtGdiCreateDIBBrush 6
#NtGdiCreateDIBitmapInternal 11 NtGdiCreateDIBitmapInternal 11
NtGdiCreateDIBSection 9 NtGdiCreateDIBSection 9
NtGdiCreateEllipticRgn 4 NtGdiCreateEllipticRgn 4
NtGdiCreateHalftonePalette 1 NtGdiCreateHalftonePalette 1
NtGdiCreateHatchBrushInternal 3 NtGdiCreateHatchBrushInternal 3
# NtGdiCreateMetafileDC 1 NtGdiCreateMetafileDC 1
NtGdiCreatePaletteInternal 2 NtGdiCreatePaletteInternal 2
NtGdiCreatePatternBrushInternal 3 NtGdiCreatePatternBrushInternal 3
NtGdiCreatePen 4 NtGdiCreatePen 4
NtGdiCreateRectRgn 4 NtGdiCreateRectRgn 4
NtGdiCreateRoundRectRgn 6 NtGdiCreateRoundRectRgn 6
#NtGdiCreateServerMetaFile 6 NtGdiCreateServerMetaFile 6
NtGdiCreateSolidBrush 2 NtGdiCreateSolidBrush 2
NtGdiD3dContextCreate 4 NtGdiD3dContextCreate 4
NtGdiD3dContextDestroy 1 NtGdiD3dContextDestroy 1
@ -215,7 +215,7 @@ NtGdiGetTextExtentExW 8
NtGdiGetTextFaceW 4 NtGdiGetTextFaceW 4
NtGdiGetTextMetricsW 3 NtGdiGetTextMetricsW 3
NtGdiGetTransform 3 NtGdiGetTransform 3
# NtGdiGetUFI 6 NtGdiGetUFI 6
# NtGdiGetEmbUFI 7 # NtGdiGetEmbUFI 7
# NtGdiGetUFIPathname 10 # NtGdiGetUFIPathname 10
# NtGdiGetEmbedFonts 0 # NtGdiGetEmbedFonts 0
@ -646,14 +646,14 @@ NtGdiBRUSHOBJ_pvGetRbrush 1
NtGdiBRUSHOBJ_hGetColorTransform 1 NtGdiBRUSHOBJ_hGetColorTransform 1
# NtGdiXFORMOBJ_bApplyXform 5 # NtGdiXFORMOBJ_bApplyXform 5
# NtGdiXFORMOBJ_iGetXform 2 # NtGdiXFORMOBJ_iGetXform 2
# NtGdiFONTOBJ_vGetInfo 3 NtGdiFONTOBJ_vGetInfo 3
# NtGdiFONTOBJ_pxoGetXform 1 NtGdiFONTOBJ_pxoGetXform 1
# NtGdiFONTOBJ_cGetGlyphs 5 NtGdiFONTOBJ_cGetGlyphs 5
# NtGdiFONTOBJ_pifi 1 NtGdiFONTOBJ_pifi 1
# NtGdiFONTOBJ_pfdg 1 NtGdiFONTOBJ_pfdg 1
# NtGdiFONTOBJ_pQueryGlyphAttrs 2 NtGdiFONTOBJ_pQueryGlyphAttrs 2
# NtGdiFONTOBJ_pvTrueTypeFontFile 2 NtGdiFONTOBJ_pvTrueTypeFontFile 2
# NtGdiFONTOBJ_cGetAllGlyphHandles 2 NtGdiFONTOBJ_cGetAllGlyphHandles 2
# NtGdiSTROBJ_bEnum 3 # NtGdiSTROBJ_bEnum 3
# NtGdiSTROBJ_bEnumPositionsOnly 3 # NtGdiSTROBJ_bEnumPositionsOnly 3
# NtGdiSTROBJ_bGetAdvanceWidths 4 # NtGdiSTROBJ_bGetAdvanceWidths 4