Move stubs for user mode printer drivers from stubs.c into umpdstubs.c. Unimplement some of them, as they were wrong.

svn path=/trunk/; revision=42605
This commit is contained in:
Timo Kreuzer 2009-08-10 22:20:28 +00:00
parent 7c78a42816
commit 11caab78fd
3 changed files with 700 additions and 839 deletions

View file

@ -328,7 +328,6 @@ EngQueryPalette(
return 0;
}
DWORD
APIENTRY
EngSetPrinterData(
@ -382,7 +381,6 @@ EngStrokePath(
return FALSE;
}
INT
APIENTRY
EngWideCharToMultiByte(
@ -661,8 +659,6 @@ EngDeleteFile(
return FALSE;
}
/*
* @unimplemented
*/
@ -691,8 +687,6 @@ EngHangNotification(
return EHN_ERROR;
}
/*
* @unimplemented
*/
@ -753,7 +747,6 @@ EngQueryFileTimeStamp(IN LPWSTR FileName)
return FileTime;
}
/*
* @unimplemented
*/
@ -821,7 +814,6 @@ HT_Get8BPPMaskPalette(
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiAnyLinkedFonts()
@ -830,88 +822,6 @@ NtGdiAnyLinkedFonts()
return FALSE;
}
/*
* @unimplemented
*/
HANDLE
APIENTRY
NtGdiBRUSHOBJ_hGetColorTransform(
IN BRUSHOBJ *Brush)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PVOID APIENTRY
NtGdiBRUSHOBJ_pvAllocRbrush(IN BRUSHOBJ *BrushObj,
IN ULONG ObjSize)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PVOID APIENTRY
NtGdiBRUSHOBJ_pvGetRbrush(IN BRUSHOBJ *BrushObj)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
ULONG APIENTRY
NtGdiBRUSHOBJ_ulGetBrushColor(BRUSHOBJ *pbo)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiCLIPOBJ_bEnum( IN CLIPOBJ *ClipObj,
IN ULONG ObjSize,
OUT ULONG *EnumRects)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
ULONG APIENTRY
NtGdiCLIPOBJ_cEnumStart(IN CLIPOBJ *ClipObj,
IN BOOL ShouldDoAll,
IN ULONG ClipType,
IN ULONG BuildOrder,
IN ULONG MaxRects)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
PATHOBJ* APIENTRY
NtGdiCLIPOBJ_ppoGetPath(CLIPOBJ *ClipObj)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
@ -923,397 +833,6 @@ NtGdiEnableEudc(BOOL enable)
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngAssociateSurface(IN HSURF Surface,
IN HDEV Dev,
IN ULONG Hooks)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
CLIPOBJ* APIENTRY
NtGdiEngCreateClip(VOID)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
VOID APIENTRY
NtGdiEngDeleteClip(CLIPOBJ *ClipRegion)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngCheckAbort(SURFOBJ *pso)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @implemented
*/
HSURF APIENTRY
NtGdiEngCreateDeviceSurface( IN DHSURF Surface,
IN SIZEL Size,
IN ULONG FormatVersion)
{
if ( FormatVersion <= BMF_8RLE &&
FormatVersion >= BMF_1BPP )
return EngCreateDeviceSurface(Surface, Size, FormatVersion);
else
return NULL;
}
/*
* @implemented
*/
HBITMAP APIENTRY
NtGdiEngCreateDeviceBitmap(
IN DHSURF dhsurf,
IN SIZEL sizl,
IN ULONG iFormatCompat)
{
if ( ( sizl.cx > 0 && sizl.cy > 0 && (((LONGLONG)(sizl.cy * sizl.cx)) <= 0xFFFFFFFFULL) ) &&
iFormatCompat <= BMF_8RLE &&
iFormatCompat >= BMF_1BPP )
return EngCreateDeviceBitmap(dhsurf, sizl, iFormatCompat);
else
return NULL;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngCopyBits(SURFOBJ *Dest,
SURFOBJ *Source,
CLIPOBJ *Clip,
XLATEOBJ *ColorTranslation,
RECTL *DestRect,
POINTL *SourcePoint)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @implemented
*/
HBITMAP APIENTRY
NtGdiEngCreateBitmap(IN SIZEL Size,
IN LONG Width,
IN ULONG Format,
IN ULONG Flags,
IN PVOID Bits)
{
return EngCreateBitmap(Size,
Width,
Format,
Flags,
Bits);
}
/*
* @implemented
*/
HPALETTE APIENTRY
NtGdiEngCreatePalette(IN ULONG Mode,
IN ULONG NumColors,
IN ULONG *Colors,
IN ULONG Red,
IN ULONG Green,
IN ULONG Blue)
{
return EngCreatePalette( Mode,
NumColors,
Colors,
Red,
Green,
Blue);
}
BOOL APIENTRY
NtGdiEngTransparentBlt(IN SURFOBJ *Dest,
IN SURFOBJ *Source,
IN CLIPOBJ *Clip,
IN XLATEOBJ *ColorTranslation,
IN PRECTL DestRect,
IN PRECTL SourceRect,
IN ULONG TransparentColor,
IN ULONG Reserved)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngTextOut(SURFOBJ *pso,
STROBJ *pstro,
FONTOBJ *pfo,
CLIPOBJ *pco,
RECTL *prclExtra,
RECTL *prclOpaque,
BRUSHOBJ *pboFore,
BRUSHOBJ *pboOpaque,
POINTL *pptlOrg,
MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngStrokePath(SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
XFORMOBJ *pxo,
BRUSHOBJ *pbo,
POINTL *pptlBrushOrg,
LINEATTRS *plineattrs,
MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @implemented
*/
BOOL APIENTRY
NtGdiEngDeletePalette(IN HPALETTE Palette)
{
return EngDeletePalette(Palette);
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngStrokeAndFillPath(SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
XFORMOBJ *pxo,
BRUSHOBJ *pboStroke,
LINEATTRS *plineattrs,
BRUSHOBJ *pboFill,
POINTL *pptlBrushOrg,
MIX mixFill,
FLONG flOptions)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID APIENTRY
NtGdiEngDeletePath(PATHOBJ *ppo)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngDeleteSurface(IN HSURF Surface)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngEraseSurface(SURFOBJ *Surface,
RECTL *Rect,
ULONG iColor)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngFillPath(SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
BRUSHOBJ *pbo,
POINTL *pptlBrushOrg,
MIX mix,
FLONG flOptions)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL APIENTRY
NtGdiEngGradientFill(SURFOBJ *psoDest,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
TRIVERTEX *pVertex,
ULONG nVertex,
PVOID pMesh,
ULONG nMesh,
RECTL *prclExtents,
POINTL *pptlDitherOrg,
ULONG ulMode)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL APIENTRY
NtGdiEngLineTo(SURFOBJ *Surface,
CLIPOBJ *Clip,
BRUSHOBJ *Brush,
LONG x1,
LONG y1,
LONG x2,
LONG y2,
RECTL *RectBounds,
MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngMarkBandingSurface(HSURF hsurf)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngPaint(IN SURFOBJ *Surface,
IN CLIPOBJ *ClipRegion,
IN BRUSHOBJ *Brush,
IN POINTL *BrushOrigin,
IN MIX Mix)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngPlgBlt(SURFOBJ *psoTrg,
SURFOBJ *psoSrc,
SURFOBJ *psoMsk,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
COLORADJUSTMENT *pca,
POINTL *pptlBrushOrg,
POINTFIX *pptfx,
RECTL *prcl,
POINTL *pptl,
ULONG iMode)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL APIENTRY
NtGdiEngStretchBltROP(SURFOBJ *psoDest,
SURFOBJ *psoSrc,
SURFOBJ *psoMask,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
COLORADJUSTMENT *pca,
POINTL *pptlHTOrg,
RECTL *prclDest,
RECTL *prclSrc,
POINTL *pptlMask,
ULONG iMode,
BRUSHOBJ *pbo,
DWORD rop4)
{
UNIMPLEMENTED;
return FALSE;
}
FD_GLYPHSET* APIENTRY
NtGdiEngComputeGlyphSet( INT nCodePage,
INT nFirstChar,
INT cChars)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
ULONG
APIENTRY
NtGdiFONTOBJ_cGetAllGlyphHandles(IN FONTOBJ *FontObj,
IN HGLYPH *Glyphs)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
ULONG
APIENTRY
NtGdiFONTOBJ_cGetGlyphs(IN FONTOBJ *FontObj,
IN ULONG Mode,
IN ULONG NumGlyphs,
IN HGLYPH *GlyphHandles,
IN PVOID *OutGlyphs)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
@ -1346,7 +865,6 @@ NtGdiAddFontMemResourceEx(
return NULL;
}
/*
* @unimplemented
*/
@ -1374,7 +892,6 @@ NtGdiAddRemoteMMInstanceToDC(
return FALSE;
}
/*
* @unimplemented
*/
@ -1418,7 +935,6 @@ NtGdiClearBitmapAttributes(
return NULL;
}
/*
* @unimplemented
*/
@ -1436,80 +952,6 @@ NtGdiGetUFI(
return FALSE;
}
/*
* @unimplemented
*/
PFD_GLYPHATTR
APIENTRY
NtGdiFONTOBJ_pQueryGlyphAttrs(
IN FONTOBJ *pfo,
IN ULONG iMode)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
IFIMETRICS*
APIENTRY
NtGdiFONTOBJ_pifi(
IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
FD_GLYPHSET*
APIENTRY
NtGdiFONTOBJ_pfdg(IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PVOID
APIENTRY
NtGdiFONTOBJ_pvTrueTypeFontFile(
IN FONTOBJ *pfo,
OUT ULONG *pcjFile
)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
VOID
APIENTRY
NtGdiFONTOBJ_vGetInfo(
IN FONTOBJ *pfo,
IN ULONG cjSize,
OUT FONTINFO *pfi)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
XFORMOBJ*
APIENTRY
NtGdiFONTOBJ_pxoGetXform(IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
@ -1570,7 +1012,6 @@ NtGdiComputeXformCoefficients(IN HDC hdc)
return FALSE;
}
/*
* @unimplemented
*/
@ -1627,7 +1068,6 @@ NtGdiDoBanding(
return FALSE;
}
/*
* @unimplemented
*/
@ -1790,7 +1230,6 @@ NtGdiGetEudcTimeStampEx(
return 0;
}
/*
* @unimplemented
*/
@ -1802,7 +1241,6 @@ NtGdiInitSpool()
return FALSE;
}
/*
* @unimplemented
*/
@ -1862,7 +1300,6 @@ NtGdiGetLinkedUFIs(
return 0;
}
/*
* @unimplemented
*/
@ -1904,44 +1341,6 @@ NtGdiDrawStream(
return FALSE;
}
/*
* @unimplemented
*/
BOOL
NtGdiUMPDEngFreeUserMem(
IN KERNEL_PVOID *ppv)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
NtGdiBRUSHOBJ_DeleteRbrush(
IN BRUSHOBJ *pbo,
IN BRUSHOBJ *pboB)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
NtGdiSetPUMPDOBJ(
IN HUMPD humpd,
IN BOOL bStoreID,
OUT HUMPD *phumpd,
OUT BOOL *pbWOW64)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
@ -1952,38 +1351,6 @@ NtGdiUpdateTransform(IN HDC hdc)
return FALSE;
}
/*
* @unimplemented
*/
LONG
APIENTRY
NtGdiHT_Get8BPPMaskPalette(
OUT OPTIONAL LPPALETTEENTRY pPaletteEntry,
IN BOOL Use8BPPMaskPal,
IN BYTE CMYMask,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
LONG
APIENTRY
NtGdiHT_Get8BPPFormatPalette(
OUT OPTIONAL LPPALETTEENTRY pPaletteEntry,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
@ -2012,73 +1379,6 @@ NtGdiGetStringBitmapW(
return 0;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiPATHOBJ_bEnum(
IN PATHOBJ *ppo,
OUT PATHDATA *ppd)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiPATHOBJ_bEnumClipLines(
IN PATHOBJ *ppo,
IN ULONG cb,
OUT CLIPLINE *pcl)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID
APIENTRY
NtGdiPATHOBJ_vGetBounds(
IN PATHOBJ *ppo,
OUT PRECTFX prectfx)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
VOID
APIENTRY
NtGdiPATHOBJ_vEnumStart(
IN PATHOBJ *ppo)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
VOID
APIENTRY
NtGdiPATHOBJ_vEnumStartClipLines(
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN SURFOBJ *pso,
IN LINEATTRS *pla)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
@ -2090,8 +1390,6 @@ NtGdiRemoveFontMemResourceEx(
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
@ -2140,76 +1438,6 @@ NtGdiGetStats(
return STATUS_NOT_IMPLEMENTED;
}
/*
* @unimplemented
*/
ULONG
APIENTRY
NtGdiXLATEOBJ_cGetPalette(
IN XLATEOBJ *pxlo,
IN ULONG iPal,
IN ULONG cPal,
OUT ULONG *pPal)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
ULONG
APIENTRY
NtGdiXLATEOBJ_iXlate(
IN XLATEOBJ *pxlo,
IN ULONG iColor)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
HANDLE
APIENTRY
NtGdiXLATEOBJ_hGetColorTransform(
IN XLATEOBJ *pxlo)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiXFORMOBJ_bApplyXform(
IN XFORMOBJ *pxo,
IN ULONG iMode,
IN ULONG cPoints,
IN PVOID pvIn,
OUT PVOID pvOut)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
ULONG
APIENTRY
NtGdiXFORMOBJ_iGetXform(
IN XFORMOBJ *pxo,
OUT OPTIONAL XFORML *pxform)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
@ -2242,72 +1470,6 @@ NtGdiSetBrushAttributes(
*/
BOOL
APIENTRY
NtGdiSTROBJ_bEnum(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiSTROBJ_bEnumPositionsOnly(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiSTROBJ_bGetAdvanceWidths(
IN STROBJ*pstro,
IN ULONG iFirst,
IN ULONG c,
OUT POINTQF*pptqD)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID
APIENTRY
NtGdiSTROBJ_vEnumStart(
IN STROBJ *pstro)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
DWORD
APIENTRY
NtGdiSTROBJ_dwGetCodePage(
IN STROBJ *pstro)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
BOOL
APIENTRY
NtGdiGetEmbUFI(
IN HDC hdc,
OUT PUNIVERSAL_FONT_ID pufi,
@ -2398,7 +1560,6 @@ NtGdiGetWidthTable(
return FALSE;
}
/*
* @unimplemented
*/

View file

@ -0,0 +1,699 @@
#include <w32k.h>
#define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
BOOL
//APIENTRY
NtGdiUMPDEngFreeUserMem(
IN KERNEL_PVOID *ppv)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
//APIENTRY
NtGdiSetPUMPDOBJ(
IN HUMPD humpd,
IN BOOL bStoreID,
OUT HUMPD *phumpd,
OUT BOOL *pbWOW64)
{
UNIMPLEMENTED;
return FALSE;
}
HANDLE
APIENTRY
NtGdiBRUSHOBJ_hGetColorTransform(
IN BRUSHOBJ *pbo)
{
UNIMPLEMENTED;
return NULL;
}
PVOID
APIENTRY
NtGdiBRUSHOBJ_pvAllocRbrush(
IN BRUSHOBJ *pbo,
IN ULONG cj)
{
UNIMPLEMENTED;
return NULL;
}
PVOID
APIENTRY
NtGdiBRUSHOBJ_pvGetRbrush(
IN BRUSHOBJ *pbo)
{
UNIMPLEMENTED;
return NULL;
}
ULONG
APIENTRY
NtGdiBRUSHOBJ_ulGetBrushColor(
BRUSHOBJ *pbo)
{
UNIMPLEMENTED;
return 0;
}
BOOL
//APIENTRY
NtGdiBRUSHOBJ_DeleteRbrush(
IN BRUSHOBJ *pbo,
IN BRUSHOBJ *pboB)
{
UNIMPLEMENTED;
return 0;
}
BOOL
APIENTRY
NtGdiCLIPOBJ_bEnum(
IN CLIPOBJ *pco,
IN ULONG cj,
OUT ULONG *pv)
{
UNIMPLEMENTED;
return FALSE;
}
ULONG
APIENTRY
NtGdiCLIPOBJ_cEnumStart(
IN CLIPOBJ *pco,
IN BOOL bAll,
IN ULONG iType,
IN ULONG iDirection,
IN ULONG cLimit)
{
UNIMPLEMENTED;
return 0;
}
PATHOBJ*
APIENTRY
NtGdiCLIPOBJ_ppoGetPath(
CLIPOBJ *pco)
{
UNIMPLEMENTED;
return NULL;
}
BOOL
APIENTRY
NtGdiEngAssociateSurface(
IN HSURF hsurf,
IN HDEV hdev,
IN ULONG flHooks)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngCheckAbort(
IN SURFOBJ *pso)
{
UNIMPLEMENTED;
return FALSE;
}
FD_GLYPHSET*
APIENTRY
NtGdiEngComputeGlyphSet(
INT nCodePage,
INT nFirstChar,
INT cChars)
{
UNIMPLEMENTED;
return NULL;
}
BOOL
APIENTRY
NtGdiEngCopyBits(
SURFOBJ *psoDest,
SURFOBJ *psoSrc,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
RECTL *prclDest,
POINTL *pptlSrc)
{
UNIMPLEMENTED;
return FALSE;
}
HBITMAP
APIENTRY
NtGdiEngCreateBitmap(
IN SIZEL sizl,
IN LONG lWidth,
IN ULONG iFormat,
IN ULONG fl,
IN PVOID pvBits)
{
UNIMPLEMENTED;
return NULL;
}
CLIPOBJ*
APIENTRY
NtGdiEngCreateClip(VOID)
{
UNIMPLEMENTED;
return NULL;
}
HBITMAP
APIENTRY
NtGdiEngCreateDeviceBitmap(
IN DHSURF dhsurf,
IN SIZEL sizl,
IN ULONG iFormatCompat)
{
UNIMPLEMENTED;
return NULL;
}
HSURF
APIENTRY
NtGdiEngCreateDeviceSurface(
IN DHSURF dhsurf,
IN SIZEL sizl,
IN ULONG iFormatCompat)
{
UNIMPLEMENTED;
return NULL;
}
HPALETTE
APIENTRY
NtGdiEngCreatePalette(
IN ULONG iMode,
IN ULONG cColors,
IN ULONG *pulColors,
IN ULONG flRed,
IN ULONG flGreen,
IN ULONG flBlue)
{
UNIMPLEMENTED;
return NULL;
}
VOID
APIENTRY
NtGdiEngDeleteClip(
CLIPOBJ *pco)
{
UNIMPLEMENTED;
}
BOOL
APIENTRY
NtGdiEngDeletePalette(
IN HPALETTE hpal)
{
UNIMPLEMENTED;
return FALSE;
}
VOID
APIENTRY
NtGdiEngDeletePath(
IN PATHOBJ *ppo)
{
UNIMPLEMENTED;
}
BOOL
APIENTRY
NtGdiEngDeleteSurface(
IN HSURF hsurf)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngEraseSurface(
SURFOBJ *pso,
RECTL *prcl,
ULONG iColor)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngFillPath(
SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
BRUSHOBJ *pbo,
POINTL *pptlBrushOrg,
MIX mix,
FLONG flOptions)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngGradientFill(
SURFOBJ *psoDest,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
TRIVERTEX *pVertex,
ULONG nVertex,
PVOID pMesh,
ULONG nMesh,
RECTL *prclExtents,
POINTL *pptlDitherOrg,
ULONG ulMode)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngLineTo(
IN SURFOBJ *pso,
IN CLIPOBJ *pco,
IN BRUSHOBJ *pbo,
IN LONG x1,
IN LONG y1,
IN LONG x2,
IN LONG y2,
IN RECTL *prclBounds,
IN MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngMarkBandingSurface(
HSURF hsurf)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngPaint(
IN SURFOBJ *pso,
IN CLIPOBJ *pco,
IN BRUSHOBJ *pbo,
IN POINTL *pptlBrushOrg,
IN MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngPlgBlt(
SURFOBJ *psoTrg,
SURFOBJ *psoSrc,
SURFOBJ *psoMsk,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
COLORADJUSTMENT *pca,
POINTL *pptlBrushOrg,
POINTFIX *pptfx,
RECTL *prcl,
POINTL *pptl,
ULONG iMode)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngStretchBltROP(
SURFOBJ *psoDest,
SURFOBJ *psoSrc,
SURFOBJ *psoMask,
CLIPOBJ *pco,
XLATEOBJ *pxlo,
COLORADJUSTMENT *pca,
POINTL *pptlHTOrg,
RECTL *prclDest,
RECTL *prclSrc,
POINTL *pptlMask,
ULONG iMode,
BRUSHOBJ *pbo,
DWORD rop4)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngStrokePath(
SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
XFORMOBJ *pxo,
BRUSHOBJ *pbo,
POINTL *pptlBrushOrg,
LINEATTRS *plineattrs,
MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngStrokeAndFillPath(
SURFOBJ *pso,
PATHOBJ *ppo,
CLIPOBJ *pco,
XFORMOBJ *pxo,
BRUSHOBJ *pboStroke,
LINEATTRS *plineattrs,
BRUSHOBJ *pboFill,
POINTL *pptlBrushOrg,
MIX mixFill,
FLONG flOptions)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngTextOut(
SURFOBJ *pso,
STROBJ *pstro,
FONTOBJ *pfo,
CLIPOBJ *pco,
RECTL *prclExtra,
RECTL *prclOpaque,
BRUSHOBJ *pboFore,
BRUSHOBJ *pboOpaque,
POINTL *pptlOrg,
MIX mix)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiEngTransparentBlt(
IN SURFOBJ *psoDst,
IN SURFOBJ *psoSrc,
IN CLIPOBJ *pco,
IN XLATEOBJ *pxlo,
IN PRECTL prclDst,
IN PRECTL prclSrc,
IN ULONG iTransColor,
IN ULONG ulReserved)
{
UNIMPLEMENTED;
return FALSE;
}
VOID
APIENTRY
NtGdiFONTOBJ_vGetInfo(
IN FONTOBJ *pfo,
IN ULONG cjSize,
OUT FONTINFO *pfi)
{
UNIMPLEMENTED;
}
XFORMOBJ*
APIENTRY
NtGdiFONTOBJ_pxoGetXform(
IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
ULONG
APIENTRY
NtGdiFONTOBJ_cGetGlyphs(
IN FONTOBJ *pfo,
IN ULONG iMode,
IN ULONG cGlyph,
IN HGLYPH *phg,
IN PVOID *ppvGlyph)
{
UNIMPLEMENTED;
return 0;
}
IFIMETRICS*
APIENTRY
NtGdiFONTOBJ_pifi(
IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
FD_GLYPHSET*
APIENTRY
NtGdiFONTOBJ_pfdg(
IN FONTOBJ *pfo)
{
UNIMPLEMENTED;
return NULL;
}
PFD_GLYPHATTR
APIENTRY
NtGdiFONTOBJ_pQueryGlyphAttrs(
IN FONTOBJ *pfo,
IN ULONG iMode)
{
UNIMPLEMENTED;
return NULL;
}
PVOID
APIENTRY
NtGdiFONTOBJ_pvTrueTypeFontFile(
IN FONTOBJ *pfo,
OUT ULONG *pcjFile)
{
UNIMPLEMENTED;
return NULL;
}
ULONG
APIENTRY
NtGdiFONTOBJ_cGetAllGlyphHandles(
IN FONTOBJ *pfo,
IN HGLYPH *phg)
{
UNIMPLEMENTED;
return 0;
}
LONG
APIENTRY
NtGdiHT_Get8BPPMaskPalette(
OUT OPTIONAL LPPALETTEENTRY pPaletteEntry,
IN BOOL Use8BPPMaskPal,
IN BYTE CMYMask,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma)
{
UNIMPLEMENTED;
return FALSE;
}
LONG
APIENTRY
NtGdiHT_Get8BPPFormatPalette(
OUT OPTIONAL LPPALETTEENTRY pPaletteEntry,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma)
{
UNIMPLEMENTED;
return FALSE;
}
VOID
APIENTRY
NtGdiPATHOBJ_vGetBounds(
IN PATHOBJ *ppo,
OUT PRECTFX prectfx)
{
UNIMPLEMENTED;
}
BOOL
APIENTRY
NtGdiPATHOBJ_bEnum(
IN PATHOBJ *ppo,
OUT PATHDATA *ppd)
{
UNIMPLEMENTED;
return FALSE;
}
VOID
APIENTRY
NtGdiPATHOBJ_vEnumStart(
IN PATHOBJ *ppo)
{
UNIMPLEMENTED;
}
VOID
APIENTRY
NtGdiPATHOBJ_vEnumStartClipLines(
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN SURFOBJ *pso,
IN LINEATTRS *pla)
{
UNIMPLEMENTED;
}
BOOL
APIENTRY
NtGdiPATHOBJ_bEnumClipLines(
IN PATHOBJ *ppo,
IN ULONG cb,
OUT CLIPLINE *pcl)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiSTROBJ_bEnum(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiSTROBJ_bEnumPositionsOnly(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
APIENTRY
NtGdiSTROBJ_bGetAdvanceWidths(
IN STROBJ *pstro,
IN ULONG iFirst,
IN ULONG c,
OUT POINTQF *pptqD)
{
UNIMPLEMENTED;
return FALSE;
}
VOID
APIENTRY
NtGdiSTROBJ_vEnumStart(
IN STROBJ *pstro)
{
UNIMPLEMENTED;
}
DWORD
APIENTRY
NtGdiSTROBJ_dwGetCodePage(
IN STROBJ *pstro)
{
UNIMPLEMENTED;
return 0;
}
BOOL
APIENTRY
NtGdiXFORMOBJ_bApplyXform(
IN XFORMOBJ *pxo,
IN ULONG iMode,
IN ULONG cPoints,
IN PVOID pvIn,
OUT PVOID pvOut)
{
UNIMPLEMENTED;
return FALSE;
}
ULONG
APIENTRY
NtGdiXFORMOBJ_iGetXform(
IN XFORMOBJ *pxo,
OUT OPTIONAL XFORML *pxform)
{
UNIMPLEMENTED;
return 0;
}
ULONG
APIENTRY
NtGdiXLATEOBJ_cGetPalette(
IN XLATEOBJ *pxlo,
IN ULONG iPal,
IN ULONG cPal,
OUT ULONG *pPal)
{
UNIMPLEMENTED;
return 0;
}
ULONG
APIENTRY
NtGdiXLATEOBJ_iXlate(
IN XLATEOBJ *pxlo,
IN ULONG iColor)
{
UNIMPLEMENTED;
return 0;
}
HANDLE
APIENTRY
NtGdiXLATEOBJ_hGetColorTransform(
IN XLATEOBJ *pxlo)
{
UNIMPLEMENTED;
return 0;
}
//NtGdiEngAlphaBlend
//NtGdiEngUnlockSurface
//NtGdiEngLockSurface
//NtGdiEngBitBlt
//NtGdiEngStretchBlt

View file

@ -196,6 +196,7 @@
</directory>
<directory name="stubs">
<file>stubs.c</file>
<file>umpdstubs.c</file>
</directory>
<!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7 -->