reactos/reactos/subsys/win32k/stubs/stubs.c

1594 lines
22 KiB
C
Raw Normal View History

/*
* Stubs for unimplemented WIN32K.SYS exports
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/debug.h>
#include <debug.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include <include/error.h>
#define STUB(x) void x(void) { DbgPrint("WIN32K: Stub for %s\n", #x); }
#ifndef UNIMPLEMENTED
#define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
#endif//UNIMPLEMENTED
/*
* @unimplemented
*/
BOOL
STDCALL
EngMapFontFileFD (
IN ULONG_PTR iFile,
OUT PULONG *ppjBuf,
OUT ULONG *pcjBuf
)
{
// www.osr.com/ddk/graphics/gdifncs_0co7.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID
STDCALL
EngUnmapFontFileFD ( IN ULONG_PTR iFile )
{
// http://www.osr.com/ddk/graphics/gdifncs_6wbr.htm
UNIMPLEMENTED;
}
/*
* @implemented
*/
BOOL
STDCALL
EngMapFontFile (
ULONG_PTR iFile,
PULONG *ppjBuf,
ULONG *pcjBuf
)
{
// www.osr.com/ddk/graphics/gdifncs_3up3.htm
return EngMapFontFileFD ( iFile, ppjBuf, pcjBuf );
}
/*
* @implemented
*/
VOID
STDCALL
EngUnmapFontFile ( ULONG_PTR iFile )
{
// www.osr.com/ddk/graphics/gdifncs_09wn.htm
return EngUnmapFontFileFD ( iFile );
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngTextOut (
big patch by Jonathon Wilson for GDI32 & related stuff changes are: 1.add some new functions to ascii.h and unicode.h 2.add some definitions to base.h 3.add a bunch of functions to funcs.h 4.add a few structures to structs.h 5.add definitions for some missing stuff to winddi.h 6.general fixes and updates to structures and definitions in winddi.h 7.add some other structures and definitions to winddi.h 8.add some Engxxx functions to winddi.h 9.a small fix in crtdll.def 10.add all the new defs to gdi32.def and gdi32.edf 11.add all the new stubs to gdi32 stubs.c 12.implement PolyPolygon and PolyPolyline 13.some fixes to msafd.def/msafd.edf 14.change WahCloseNotificationHelper to WahCloseNotificationHandleHelper in ws2help to match the microsoft definition 15.add d3d.h, d3dcaps.h, d3dtypes.h, ddraw.h, d3dhal.h, ddrawi.h to include and include\ddk (needed for the GdiEntryxx and DdEntryxx functions in gdi32.dll). Headers are modified versions of those from WINE (stuff removed that wont compile without OLE headers, some stuff added) 16.add ddentry.h which is used with the DdEntry and GdiEntry functions and 17.fix some stuff in stubs.c of win32k A fair few of these definitions could be wrong (some of them are educated guesses, like some of the Gdixxx functions) If anyone has any corrections, any answers for the FIXMEs and structures I dont have definitions for, definitions for the remaining stuff in gdi32.def with a ; in front of it or whatever, do let me know. Or if anyone wants to comment about my changes, please let me know. svn path=/trunk/; revision=5867
2003-08-26 12:28:53 +00:00
SURFOBJ *pso,
STROBJ *pstro,
FONTOBJ *pfo,
CLIPOBJ *pco,
RECTL *prclExtra,
RECTL *prclOpaque,
BRUSHOBJ *pboFore,
BRUSHOBJ *pboOpaque,
POINTL *pptlOrg,
MIX mix
)
{
// www.osr.com/ddk/graphics/gdifncs_4tgn.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
PATHOBJ*
STDCALL
CLIPOBJ_ppoGetPath ( IN CLIPOBJ *pco )
{
// www.osr.com/ddk/graphics/gdifncs_6hbb.htm
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngCheckAbort ( IN SURFOBJ *pso )
{
// www.osr.com/ddk/graphics/gdifncs_3u7b.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
FD_GLYPHSET*
STDCALL
EngComputeGlyphSet(
IN INT nCodePage,
IN INT nFirstChar,
IN INT cChars
)
{
// www.osr.com/ddk/graphics/gdifncs_9607.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
HDRVOBJ
STDCALL
EngCreateDriverObj(
PVOID pvObj,
FREEOBJPROC pFreeObjProc,
HDEV hdev
)
{
// www.osr.com/ddk/graphics/gdifncs_8svb.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PATHOBJ*
STDCALL
EngCreatePath ( VOID )
{
// www.osr.com/ddk/graphics/gdifncs_4aav.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
WNDOBJ*
STDCALL
EngCreateWnd(
SURFOBJ *pso,
HWND hwnd,
WNDOBJCHANGEPROC pfn,
FLONG fl,
int iPixelFormat
)
{
// www.osr.com/ddk/graphics/gdifncs_2ip3.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngDeleteDriverObj(
IN HDRVOBJ hdo,
IN BOOL bCallBack,
IN BOOL bLocked
)
{
// www.osr.com/ddk/graphics/gdifncs_0qlj.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID
STDCALL
EngDeletePath ( IN PATHOBJ *ppo )
{
// www.osr.com/ddk/graphics/gdifncs_3fl3.htm
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
VOID
STDCALL
EngDeleteWnd ( IN WNDOBJ *pwo )
{
// www.osr.com/ddk/graphics/gdifncs_2z3b.htm
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngEnumForms (
IN HANDLE hPrinter,
IN DWORD Level,
OUT LPBYTE pForm,
IN DWORD cbBuf,
OUT LPDWORD pcbNeeded,
OUT LPDWORD pcReturned
)
{
// www.osr.com/ddk/graphics/gdifncs_5e07.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngFillPath (
IN SURFOBJ *pso,
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN BRUSHOBJ *pbo,
IN POINTL *pptlBrushOrg,
IN MIX mix,
IN FLONG flOptions
)
{
// www.osr.com/ddk/graphics/gdifncs_9pyf.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
PVOID
STDCALL
EngFindResource(
IN HANDLE h,
IN int iName,
IN int iType,
OUT PULONG pulSize
)
{
// www.osr.com/ddk/graphics/gdifncs_7rjb.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
VOID
STDCALL
EngFreeModule ( IN HANDLE h )
{
// www.osr.com/ddk/graphics/gdifncs_9fzb.htm
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
LPWSTR
STDCALL
EngGetDriverName ( IN HDEV hdev )
{
// www.osr.com/ddk/graphics/gdifncs_2gx3.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngGetFileChangeTime(
IN HANDLE h,
OUT LARGE_INTEGER *pChangeTime
)
{
// www.osr.com/ddk/graphics/gdifncs_1i1z.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngGetFilePath(
IN HANDLE h,
OUT WCHAR (*pDest)[MAX_PATH+1]
)
{
// www.osr.com/ddk/graphics/gdifncs_5g2v.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngGetForm(
IN HANDLE hPrinter,
IN LPWSTR pFormName,
IN DWORD Level,
OUT LPBYTE pForm,
IN DWORD cbBuf,
OUT LPDWORD pcbNeeded
)
{
// www.osr.com/ddk/graphics/gdifncs_5vvr.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngGetPrinter(
IN HANDLE hPrinter,
IN DWORD dwLevel,
OUT LPBYTE pPrinter,
IN DWORD cbBuf,
OUT LPDWORD pcbNeeded
)
{
// www.osr.com/ddk/graphics/gdifncs_50h3.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
DWORD
STDCALL
EngGetPrinterData(
IN HANDLE hPrinter,
IN LPWSTR pValueName,
OUT LPDWORD pType,
OUT LPBYTE pData,
IN DWORD nSize,
OUT LPDWORD pcbNeeded
)
{
// www.osr.com/ddk/graphics/gdifncs_8t5z.htm
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
LPWSTR
STDCALL
EngGetPrinterDataFileName ( IN HDEV hdev )
{
// www.osr.com/ddk/graphics/gdifncs_2giv.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngGetType1FontList(
IN HDEV hdev,
OUT TYPE1_FONT *pType1Buffer,
IN ULONG cjType1Buffer,
OUT PULONG pulLocalFonts,
OUT PULONG pulRemoteFonts,
OUT LARGE_INTEGER *pLastModified
)
{
// www.osr.com/ddk/graphics/gdifncs_6e5j.htm
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
HANDLE
STDCALL
EngLoadModuleForWrite(
IN LPWSTR pwsz,
IN ULONG cjSizeOfModule
)
{
// www.osr.com/ddk/graphics/gdifncs_98rr.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
DRIVEROBJ*
STDCALL
EngLockDriverObj ( IN HDRVOBJ hdo )
{
// www.osr.com/ddk/graphics/gdifncs_41if.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PVOID
STDCALL
EngMapModule(
IN HANDLE h,
OUT PULONG pSize
)
{
// www.osr.com/ddk/graphics/gdifncs_9b1j.htm
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL
STDCALL
EngMarkBandingSurface ( IN HSURF hsurf )
{
// www.osr.com/ddk/graphics/gdifncs_2jon.htm
UNIMPLEMENTED;
return FALSE;
}
INT
STDCALL
EngMultiByteToWideChar(
IN UINT CodePage,
OUT LPWSTR WideCharString,
IN INT BytesInWideCharString,
IN LPSTR MultiByteString,
IN INT BytesInMultiByteString
)
{
// www.osr.com/ddk/graphics/gdifncs_32cn.htm
UNIMPLEMENTED;
return 0;
}
VOID
STDCALL
EngQueryLocalTime ( OUT PENG_TIME_FIELDS ptf )
{
// www.osr.com/ddk/graphics/gdifncs_389z.htm
UNIMPLEMENTED;
}
ULONG
STDCALL
EngQueryPalette(
IN HPALETTE hPal,
OUT ULONG *piMode,
IN ULONG cColors,
OUT ULONG *pulColors
)
{
// www.osr.com/ddk/graphics/gdifncs_21t3.htm
UNIMPLEMENTED;
return 0;
}
BOOL
STDCALL
EngSetPointerTag(
IN HDEV hdev,
IN SURFOBJ *psoMask,
IN SURFOBJ *psoColor,
IN XLATEOBJ *pxlo,
IN FLONG fl
)
{
// This function is obsolete for Windows 2000 and later.
// This function is still supported, but always returns FALSE.
// www.osr.com/ddk/graphics/gdifncs_4yav.htm
return FALSE;
}
DWORD
STDCALL
EngSetPrinterData(
IN HANDLE hPrinter,
IN LPWSTR pType,
IN DWORD dwType,
IN LPBYTE lpbPrinterData,
IN DWORD cjPrinterData
)
{
// www.osr.com/ddk/graphics/gdifncs_8drb.htm
UNIMPLEMENTED;
return 0;
}
BOOL
STDCALL
EngStrokeAndFillPath(
IN SURFOBJ *pso,
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN XFORMOBJ *pxo,
IN BRUSHOBJ *pboStroke,
IN LINEATTRS *plineattrs,
IN BRUSHOBJ *pboFill,
IN POINTL *pptlBrushOrg,
IN MIX mixFill,
IN FLONG flOptions
)
{
// www.osr.com/ddk/graphics/gdifncs_2xwn.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
EngStrokePath(
IN SURFOBJ *pso,
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN XFORMOBJ *pxo,
IN BRUSHOBJ *pbo,
IN POINTL *pptlBrushOrg,
IN LINEATTRS *plineattrs,
IN MIX mix
)
{
// www.osr.com/ddk/graphics/gdifncs_4yaw.htm
UNIMPLEMENTED;
return FALSE;
}
VOID
STDCALL
EngUnloadImage ( IN HANDLE hModule )
{
// www.osr.com/ddk/graphics/gdifncs_586f.htm
UNIMPLEMENTED;
}
BOOL
STDCALL
EngUnlockDriverObj ( IN HDRVOBJ hdo )
{
// www.osr.com/ddk/graphics/gdifncs_0l5z.htm
UNIMPLEMENTED;
return FALSE;
}
INT
STDCALL
EngWideCharToMultiByte(
IN UINT CodePage,
IN LPWSTR WideCharString,
IN INT BytesInWideCharString,
OUT LPSTR MultiByteString,
IN INT BytesInMultiByteString
)
{
// www.osr.com/ddk/graphics/gdifncs_35wn.htm
UNIMPLEMENTED;
return 0;
}
BOOL
STDCALL
EngWritePrinter (
IN HANDLE hPrinter,
IN LPVOID pBuf,
IN DWORD cbBuf,
OUT LPDWORD pcWritten
)
{
// www.osr.com/ddk/graphics/gdifncs_9v6v.htm
UNIMPLEMENTED;
return FALSE;
}
VOID
STDCALL
FLOATOBJ_Add (
IN OUT PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_2i3r.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_AddFloat(
IN OUT PFLOATOBJ pf,
IN FLOATL f
)
{
// www.osr.com/ddk/graphics/gdifncs_0ip3.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_AddLong(
IN OUT PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_12jr.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_Div(
IN OUT PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_3ndz.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_DivFloat(
IN OUT PFLOATOBJ pf,
IN FLOATL f
)
{
// www.osr.com/ddk/graphics/gdifncs_0gfb.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_DivLong(
IN OUT PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_6jdz.htm
UNIMPLEMENTED;
}
BOOL
STDCALL
FLOATOBJ_Equal(
IN PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_6ysn.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
FLOATOBJ_EqualLong(
IN PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_1pgn.htm
UNIMPLEMENTED;
return FALSE;
}
LONG
STDCALL
FLOATOBJ_GetFloat ( IN PFLOATOBJ pf )
{
// www.osr.com/ddk/graphics/gdifncs_4d5z.htm
UNIMPLEMENTED;
return 0;
}
LONG
STDCALL
FLOATOBJ_GetLong ( IN PFLOATOBJ pf )
{
// www.osr.com/ddk/graphics/gdifncs_0tgn.htm
UNIMPLEMENTED;
return 0;
}
BOOL
STDCALL
FLOATOBJ_GreaterThan(
IN PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_8n53.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
FLOATOBJ_GreaterThanLong(
IN PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_6gx3.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
FLOATOBJ_LessThan(
IN PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_1ynb.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
FLOATOBJ_LessThanLong(
IN PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_9nzb.htm
UNIMPLEMENTED;
return FALSE;
}
VOID
STDCALL
FLOATOBJ_Mul(
IN OUT PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_8ppj.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_MulFloat(
IN OUT PFLOATOBJ pf,
IN FLOATL f
)
{
// www.osr.com/ddk/graphics/gdifncs_3puv.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_MulLong(
IN OUT PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_56lj.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_Neg ( IN OUT PFLOATOBJ pf )
{
// www.osr.com/ddk/graphics/gdifncs_14pz.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_SetFloat(
OUT PFLOATOBJ pf,
IN FLOATL f
)
{
// www.osr.com/ddk/graphics/gdifncs_1prb.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_SetLong(
OUT PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_0gpz.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_Sub(
IN OUT PFLOATOBJ pf,
IN PFLOATOBJ pf1
)
{
// www.osr.com/ddk/graphics/gdifncs_6lyf.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_SubFloat(
IN OUT PFLOATOBJ pf,
IN FLOATL f
)
{
// www.osr.com/ddk/graphics/gdifncs_2zvr.htm
UNIMPLEMENTED;
}
VOID
STDCALL
FLOATOBJ_SubLong(
IN OUT PFLOATOBJ pf,
IN LONG l
)
{
// www.osr.com/ddk/graphics/gdifncs_852f.htm
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
ULONG
STDCALL
FONTOBJ_cGetAllGlyphHandles (
IN FONTOBJ *FontObj,
IN HGLYPH *Glyphs
)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
ULONG
STDCALL
FONTOBJ_cGetGlyphs(
IN FONTOBJ *FontObj,
IN ULONG Mode,
IN ULONG NumGlyphs,
IN HGLYPH *GlyphHandles,
IN PVOID *OutGlyphs
)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
IFIMETRICS*
STDCALL
FONTOBJ_pifi ( IN FONTOBJ *FontObj )
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PVOID
STDCALL
FONTOBJ_pvTrueTypeFontFile (
IN FONTOBJ *FontObj,
IN ULONG *FileSize)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
XFORMOBJ*
STDCALL
FONTOBJ_pxoGetXform ( IN FONTOBJ *FontObj )
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
VOID
STDCALL
FONTOBJ_vGetInfo (
IN FONTOBJ *FontObj,
IN ULONG InfoSize,
OUT PFONTINFO FontInfo)
{
UNIMPLEMENTED;
}
LONG
STDCALL
HT_ComputeRGBGammaTable(
IN USHORT GammaTableEntries,
IN USHORT GammaTableType,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma,
OUT LPBYTE pGammaTable
)
{
// www.osr.com/ddk/graphics/gdifncs_9dpj.htm
UNIMPLEMENTED;
return 0;
}
LONG
STDCALL
HT_Get8BPPFormatPalette(
OUT LPPALETTEENTRY pPaletteEntry,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma
)
{
// www.osr.com/ddk/graphics/gdifncs_8kvb.htm
UNIMPLEMENTED;
return 0;
}
BOOL
STDCALL
PATHOBJ_bCloseFigure ( IN PATHOBJ *ppo )
{
// www.osr.com/ddk/graphics/gdifncs_5mhz.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
PATHOBJ_bEnum (
IN PATHOBJ *ppo,
OUT PATHDATA *ppd
)
{
// www.osr.com/ddk/graphics/gdifncs_98o7.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
PATHOBJ_bEnumClipLines(
IN PATHOBJ *ppo,
IN ULONG cb,
OUT CLIPLINE *pcl
)
{
// www.osr.com/ddk/graphics/gdifncs_4147.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
PATHOBJ_bMoveTo(
IN PATHOBJ *ppo,
IN POINTFIX ptfx
)
{
// www.osr.com/ddk/graphics/gdifncs_70vb.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
PATHOBJ_bPolyBezierTo(
IN PATHOBJ *ppo,
IN POINTFIX *pptfx,
IN ULONG cptfx
)
{
// www.osr.com/ddk/graphics/gdifncs_2c9z.htm
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
PATHOBJ_bPolyLineTo(
IN PATHOBJ *ppo,
IN POINTFIX *pptfx,
IN ULONG cptfx
)
{
// www.osr.com/ddk/graphics/gdifncs_0x47.htm
UNIMPLEMENTED;
return FALSE;
}
VOID
STDCALL
PATHOBJ_vEnumStart ( IN PATHOBJ *ppo )
{
// www.osr.com/ddk/graphics/gdifncs_74br.htm
UNIMPLEMENTED;
}
VOID
STDCALL
PATHOBJ_vEnumStartClipLines(
IN PATHOBJ *ppo,
IN CLIPOBJ *pco,
IN SURFOBJ *pso,
IN LINEATTRS *pla
)
{
// www.osr.com/ddk/graphics/gdifncs_5grr.htm
UNIMPLEMENTED;
}
VOID
STDCALL
PATHOBJ_vGetBounds(
IN PATHOBJ *ppo,
OUT PRECTFX prectfx
)
{
// www.osr.com/ddk/graphics/gdifncs_8qp3.htm
UNIMPLEMENTED;
}
BOOL
STDCALL
STROBJ_bEnum(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos
)
{
// www.osr.com/ddk/graphics/gdifncs_65uv.htm
UNIMPLEMENTED;
return FALSE;
}
DWORD
STDCALL
STROBJ_dwGetCodePage ( IN STROBJ *pstro )
{
// www.osr.com/ddk/graphics/gdifncs_9jmv.htm
UNIMPLEMENTED;
return 0;
}
VOID
STDCALL
STROBJ_vEnumStart ( IN STROBJ *pstro )
{
// www.osr.com/ddk/graphics/gdifncs_32uf.htm
UNIMPLEMENTED;
}
BOOL
STDCALL
WNDOBJ_bEnum(
IN WNDOBJ *pwo,
IN ULONG cj,
OUT ULONG *pul
)
{
// www.osr.com/ddk/graphics/gdifncs_3jqf.htm
UNIMPLEMENTED;
return FALSE;
}
ULONG
STDCALL
WNDOBJ_cEnumStart(
IN WNDOBJ *pwo,
IN ULONG iType,
IN ULONG iDirection,
IN ULONG cLimit
)
{
// www.osr.com/ddk/graphics/gdifncs_18o7.htm
UNIMPLEMENTED;
return 0;
}
VOID
STDCALL
WNDOBJ_vSetConsumer(
IN WNDOBJ *pwo,
IN PVOID pvConsumer
)
{
// www.osr.com/ddk/graphics/gdifncs_484n.htm
UNIMPLEMENTED;
}
BOOL
STDCALL
XFORMOBJ_bApplyXform(
IN XFORMOBJ *pxo,
IN ULONG iMode,
IN ULONG cPoints,
IN PVOID pvIn,
OUT PVOID pvOut
)
{
// www.osr.com/ddk/graphics/gdifncs_027b.htm
UNIMPLEMENTED;
return FALSE;
}
ULONG
STDCALL
XFORMOBJ_iGetFloatObjXform(
IN XFORMOBJ *pxo,
OUT FLOATOBJ_XFORM *pxfo
)
{
// www.osr.com/ddk/graphics/gdifncs_5ig7.htm
UNIMPLEMENTED;
return 0;
}
ULONG
STDCALL
XFORMOBJ_iGetXform(
IN XFORMOBJ *pxo,
OUT XFORML *pxform
)
{
// www.osr.com/ddk/graphics/gdifncs_0s2v.htm
UNIMPLEMENTED;
return 0;
}
// below here aren't in DDK!!!
STUB(FLOATOBJ_AddFloatObj)
STUB(FLOATOBJ_DivFloatObj)
STUB(FLOATOBJ_MulFloatObj)
STUB(FLOATOBJ_SubFloatObj)
2004-03-06 Filip Navara <xnavara@volny.cz> * drivers/video/videoprt/int10.c (VideoPortInt10): Print more debug informations. * drivers/video/videoprt/videoprt.c (VideoPortInitialize): Prevent conflicts when more miniport drivers are loaded. (VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory): Change way of reporting error to prevent reporting error when the resources were successfully mapped. (VideoPortDDCMonitorHelper): Add stub. (VidDispatchDeviceControl): Allocate memory from NonPagedPool. Add debug messages. * drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper): Add export. * drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper): Ditto. * include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare. * include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration. * subsys/win32k/eng/surface.c (EngModifySurface): Implement. * subsys/win32k/misc/driver.c (DRIVER_FindMPDriver): Modify to open specific miniport driver depending on parameter. * subsys/win32k/objects/dc.c (GetRegistryPath): Add parameter to specify display driver number. (FindDriverFileNames): Ditto. (SetupDevMode): Ditto. (IntCreateDC): Correct DPRINT. (IntCreatePrimarySurface): Change to try more miniport drivers before giving up. * subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree, EngDitherColor, EngQuerySystemAttribute): Add stubs. * subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute, HeapVidMemAllocAligned, VidMemFree, EngModifySurface): Add exports. * subsys/win32k/win32k.def: Ditto. svn path=/trunk/; revision=8547
2004-03-06 01:22:04 +00:00
/*
* @unimplemented
*/
ULONG STDCALL
EngDitherColor(
IN HDEV hdev,
IN ULONG iMode,
IN ULONG rgb,
OUT ULONG *pul)
{
return DCR_SOLID;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngQuerySystemAttribute(
IN ENG_SYSTEM_ATTRIBUTE CapNum,
OUT PDWORD pCapability)
{
switch (CapNum)
{
case EngNumberOfProcessors:
*pCapability = 1;
return TRUE;
case EngProcessorFeature:
*pCapability = 0;
return TRUE;
default:
break;
}
return FALSE;
}
/*
* @unimplemented
*/
FLATPTR STDCALL
HeapVidMemAllocAligned(
IN LPVIDMEM lpVidMem,
2004-03-06 Filip Navara <xnavara@volny.cz> * drivers/video/videoprt/int10.c (VideoPortInt10): Print more debug informations. * drivers/video/videoprt/videoprt.c (VideoPortInitialize): Prevent conflicts when more miniport drivers are loaded. (VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory): Change way of reporting error to prevent reporting error when the resources were successfully mapped. (VideoPortDDCMonitorHelper): Add stub. (VidDispatchDeviceControl): Allocate memory from NonPagedPool. Add debug messages. * drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper): Add export. * drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper): Ditto. * include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare. * include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration. * subsys/win32k/eng/surface.c (EngModifySurface): Implement. * subsys/win32k/misc/driver.c (DRIVER_FindMPDriver): Modify to open specific miniport driver depending on parameter. * subsys/win32k/objects/dc.c (GetRegistryPath): Add parameter to specify display driver number. (FindDriverFileNames): Ditto. (SetupDevMode): Ditto. (IntCreateDC): Correct DPRINT. (IntCreatePrimarySurface): Change to try more miniport drivers before giving up. * subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree, EngDitherColor, EngQuerySystemAttribute): Add stubs. * subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute, HeapVidMemAllocAligned, VidMemFree, EngModifySurface): Add exports. * subsys/win32k/win32k.def: Ditto. svn path=/trunk/; revision=8547
2004-03-06 01:22:04 +00:00
IN DWORD dwWidth,
IN DWORD dwHeight,
IN LPSURFACEALIGNMENT lpAlignment,
2004-03-06 Filip Navara <xnavara@volny.cz> * drivers/video/videoprt/int10.c (VideoPortInt10): Print more debug informations. * drivers/video/videoprt/videoprt.c (VideoPortInitialize): Prevent conflicts when more miniport drivers are loaded. (VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory): Change way of reporting error to prevent reporting error when the resources were successfully mapped. (VideoPortDDCMonitorHelper): Add stub. (VidDispatchDeviceControl): Allocate memory from NonPagedPool. Add debug messages. * drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper): Add export. * drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper): Ditto. * include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare. * include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration. * subsys/win32k/eng/surface.c (EngModifySurface): Implement. * subsys/win32k/misc/driver.c (DRIVER_FindMPDriver): Modify to open specific miniport driver depending on parameter. * subsys/win32k/objects/dc.c (GetRegistryPath): Add parameter to specify display driver number. (FindDriverFileNames): Ditto. (SetupDevMode): Ditto. (IntCreateDC): Correct DPRINT. (IntCreatePrimarySurface): Change to try more miniport drivers before giving up. * subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree, EngDitherColor, EngQuerySystemAttribute): Add stubs. * subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute, HeapVidMemAllocAligned, VidMemFree, EngModifySurface): Add exports. * subsys/win32k/win32k.def: Ditto. svn path=/trunk/; revision=8547
2004-03-06 01:22:04 +00:00
OUT LPLONG lpNewPitch)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
VOID STDCALL
VidMemFree(
IN LPVMEMHEAP pvmh,
IN FLATPTR ptr)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
HANDLE STDCALL
BRUSHOBJ_hGetColorTransform(
IN BRUSHOBJ *Brush)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
VOID STDCALL
EngClearEvent(
IN PEVENT Event)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngDeleteFile(
IN LPWSTR FileName)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
VOID STDCALL
EngDeleteSafeSemaphore(
IN OUT ENGSAFESEMAPHORE *Semaphore)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngGetPrinterDriver(
IN HANDLE Printer,
IN LPWSTR Environment,
IN DWORD Level,
OUT BYTE *DrvInfo,
IN DWORD Buf,
OUT DWORD *Needed)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
ULONG STDCALL
EngHangNotification(
IN HDEV Dev,
IN PVOID Reserved)
{
UNIMPLEMENTED;
return EHN_ERROR;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngInitializeSafeSemaphore(
OUT ENGSAFESEMAPHORE *Semaphore)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
PDD_SURFACE_LOCAL STDCALL
EngLockDirectDrawSurface(
IN HANDLE Surface)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngLpkInstalled()
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
PVOID STDCALL
EngMapFile(
IN LPWSTR Filename,
IN ULONG Size,
OUT ULONG_PTR *File)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngPlgBlt(
IN SURFOBJ *Dest,
IN SURFOBJ *Source,
IN SURFOBJ *Mask,
IN CLIPOBJ *Clip,
IN XLATEOBJ *Xlate,
IN COLORADJUSTMENT *ColorAdjustment,
IN POINTL *BrusOrigin,
IN POINTFIX *DestPoints,
IN RECTL *SourceRect,
IN POINTL *MaskPoint,
IN ULONG Mode)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngQueryDeviceAttribute(
IN HDEV Device,
IN ENG_DEVICE_ATTRIBUTE Attribute,
IN VOID *In,
IN ULONG InSize,
OUT VOID *Out,
OUT ULONG OutSize)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
LONG STDCALL
EngReadStateEvent(
IN PEVENT Event)
{
UNIMPLEMENTED;
return 0;
}
BOOL STDCALL
EngStretchBltROP(
IN SURFOBJ *Dest,
IN SURFOBJ *Source,
IN SURFOBJ *Mask,
IN CLIPOBJ *Clip,
IN XLATEOBJ *Xlate,
IN COLORADJUSTMENT *ColorAdjustment,
IN POINTL *BrushOrigin,
IN RECTL *DestRect,
IN RECTL *SourceRect,
IN POINTL *MaskPoint,
IN ULONG Mode,
IN BRUSHOBJ *BrushObj,
IN DWORD ROP4)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngUnlockDirectDrawSurface(
IN PDD_SURFACE_LOCAL Surface)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
BOOL STDCALL
EngUnmapFile(
IN ULONG_PTR File)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
FD_GLYPHSET * STDCALL
FONTOBJ_pfdg(
IN FONTOBJ *FontObj)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PBYTE STDCALL
FONTOBJ_pjOpenTypeTablePointer(
IN FONTOBJ *FontObj,
IN ULONG Tag,
OUT ULONG *Table)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
PFD_GLYPHATTR STDCALL
FONTOBJ_pQueryGlyphAttrs(
IN FONTOBJ *FontObj,
IN ULONG Mode)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
LPWSTR STDCALL
FONTOBJ_pwszFontFilePaths(
IN FONTOBJ *FontObj,
OUT ULONG *PathLength)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @unimplemented
*/
LONG STDCALL
HT_Get8BPPMaskPalette(
IN OUT LPPALETTEENTRY PaletteEntry,
IN BOOL Use8BPPMaskPal,
IN BYTE CMYMask,
IN USHORT RedGamma,
IN USHORT GreenGamma,
IN USHORT BlueGamma)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
BOOL STDCALL
STROBJ_bEnumPositionsOnly(
IN STROBJ *StringObj,
OUT ULONG *Count,
OUT PGLYPHPOS *Pos)
{
UNIMPLEMENTED;
return (BOOL) DDI_ERROR;
}
/*
* @unimplemented
*/
BOOL STDCALL
STROBJ_bGetAdvanceWidths(
IN STROBJ *StringObj,
IN ULONG First,
IN ULONG Count,
OUT POINTQF *Widths)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
FIX STDCALL
STROBJ_fxBreakExtra(
IN STROBJ *StringObj)
{
UNIMPLEMENTED;
return (FIX) 0;
}
/*
* @unimplemented
*/
FIX STDCALL
STROBJ_fxCharacterExtra(
IN STROBJ *StringObj)
{
UNIMPLEMENTED;
return (FIX) 0;
}
/*
* @unimplemented
*/
HANDLE STDCALL
XLATEOBJ_hGetColorTransform(
IN XLATEOBJ *XlateObj)
{
UNIMPLEMENTED;
return NULL;
}