3 * reactos/lib/gdi32/misc/stubs.c
7 * When you implement one of these functions,
8 * remove its stub from this file.
14 #define SIZEOF_DEVMODEA_300 124
15 #define SIZEOF_DEVMODEA_400 148
16 #define SIZEOF_DEVMODEA_500 156
17 #define SIZEOF_DEVMODEW_300 188
18 #define SIZEOF_DEVMODEW_400 212
19 #define SIZEOF_DEVMODEW_500 220
21 #define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
33 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
51 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
69 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
78 Escape(HDC hdc
, INT escape
, INT in_count
, LPCSTR in_data
, LPVOID out_data
)
81 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
97 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
158 LPRASTERIZER_STATUS a0
,
163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
172 GetSystemPaletteUse(HDC hDc
)
174 return NtGdiGetSystemPaletteUse(hDc
);
188 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
235 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
268 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
300 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
310 SetTextJustification(
317 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
332 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
350 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
368 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
405 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
422 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
432 GetEnhMetaFileHeader(
439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
449 GetEnhMetaFilePaletteEntries(
456 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
475 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
492 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
502 PlayEnhMetaFileRecord(
505 CONST ENHMETARECORD
*a2
,
510 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
526 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
540 CONST METAFILEPICT
*a3
)
543 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
560 if (GDI_HANDLE_GET_TYPE(hDC
) == GDI_OBJECT_TYPE_EMF
)
562 PLDC pLDC
= GdiGetLDC(hDC
);
565 SetLastError(ERROR_INVALID_HANDLE
);
568 if (pLDC
->iType
== LDC_EMFLDC
)
570 return EMFDRV_GdiComment( hDC
, bytes
, buffer
);
593 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
605 CONST COLORADJUSTMENT
*a1
609 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
625 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
640 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
655 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
670 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
685 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
701 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
721 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
741 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
755 return NtGdiUnrealizeObject(a0
);
767 * Although GdiFlush is unimplemented, it's safe to return
768 * TRUE, because we don't have GDI engine surface caching
786 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
804 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
819 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
835 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
850 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
866 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
900 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
915 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
925 wglCreateLayerContext(
931 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
946 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
956 wglGetCurrentContext(VOID
)
959 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
969 wglGetCurrentDC(VOID
)
972 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
987 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1003 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1019 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1029 wglDescribeLayerPlane(
1034 LPLAYERPLANEDESCRIPTOR a4
1038 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1048 wglSetLayerPaletteEntries(
1057 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1067 wglGetLayerPaletteEntries(
1076 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1086 wglRealizeLayerPalette(
1093 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1103 wglSwapLayerBuffers(
1109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1114 /* === AFTER THIS POINT I GUESS... =========
1115 * (based on stack size in Norlander's .def)
1116 * === WHERE ARE THEY DEFINED? =============
1135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1175 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1196 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1230 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1245 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1265 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1274 AddFontMemResourceEx(
1282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1291 AddFontResourceTracking(
1297 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1308 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1320 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1323 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1332 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1335 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1344 EndFormPage(HDC hdc
)
1347 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1356 FontIsLinked(HDC hdc
)
1359 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1368 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1371 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1380 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1383 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1392 GdiCleanCacheDC(HDC hdc
)
1395 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1404 GdiConvertAndCheckDC(HDC hdc
)
1407 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1416 GdiConvertBitmap(HBITMAP hbm
)
1419 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1428 GdiConvertBrush(HBRUSH hbr
)
1431 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1440 GdiConvertDC(HDC hdc
)
1443 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1452 GdiConvertFont(HFONT hfont
)
1455 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1464 GdiConvertPalette(HPALETTE hpal
)
1467 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1476 GdiConvertRegion(HRGN hregion
)
1479 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1488 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1491 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1500 GdiDeleteLocalDC(HDC hdc
)
1503 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1512 GdiDescribePixelFormat(HDC hdc
,int ipfd
,UINT cjpfd
,PPIXELFORMATDESCRIPTOR ppfd
)
1515 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1524 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1527 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1536 GdiGetCodePage(HDC hdc
)
1539 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1548 GdiGetLocalBrush(HBRUSH hbr
)
1551 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1560 GdiGetLocalDC(HDC hdc
)
1563 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1572 GdiGetLocalFont(HFONT hfont
)
1575 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1584 GdiIsMetaFileDC(HDC hdc
)
1587 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1596 GdiIsMetaPrintDC(HDC hdc
)
1599 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1608 GdiIsPlayMetafileDC(HDC hdc
)
1611 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1620 GdiSetAttrs(HDC hdc
)
1623 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1632 GdiSetLastError(DWORD dwErrCode
)
1635 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1643 GdiSetPixelFormat(HDC hdc
,int ipfd
)
1646 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1655 GdiValidateHandle(HGDIOBJ hobj
)
1658 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1667 GdiSwapBuffers(HDC hdc
)
1670 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1679 GdiSetServerAttr(HDC hdc
,DWORD attr
)
1682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1690 GetBitmapAttributes(HBITMAP hbm
)
1693 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1702 GetBrushAttributes(HBRUSH hbr
)
1705 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1723 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1741 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1750 GetFontUnicodeRanges(
1756 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1765 GetEUDCTimeStamp(VOID
)
1768 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1777 GetFontAssocStatus(HDC hdc
)
1780 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1792 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1806 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1815 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
)
1818 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1827 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
)
1830 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1839 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
)
1842 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1851 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, BOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
)
1854 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1863 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1866 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1875 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
)
1878 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1887 QueryFontAssocStatus(VOID
)
1890 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1899 RemoveFontMemResourceEx(
1904 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1913 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1916 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1925 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1928 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1937 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1940 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1955 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1964 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1967 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1976 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1979 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1988 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1991 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2000 StartFormPage(HDC hdc
)
2003 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2012 UnloadNetworkFonts(DWORD unknown
)
2015 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2023 GetTextExtentExPointI(
2034 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2043 GetTextExtentPointI(
2051 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2060 GdiFullscreenControl(FULLSCREENCONTROL FullscreenCommand
,PVOID FullscreenInput
,
2061 DWORD FullscreenInputLength
,PVOID FullscreenOutput
,
2062 PULONG FullscreenOutputLength
)
2065 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2074 GdiQueryFonts(PUNIVERSAL_FONT_ID pufiFontList
,ULONG nBufferSize
,PLARGE_INTEGER pTimeStamp
)
2077 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2086 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
2089 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2098 GetCharWidthInfo(HDC hdc
,PCHWIDTHINFO pChWidthInfo
)
2101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2110 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
2113 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2122 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
2125 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2134 GdiConvertMetaFilePict(HGLOBAL hMem
)
2137 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2146 GdiConvertToDevmodeW(DEVMODEA
*dm
)
2150 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
2151 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
2152 #define COPYN(f) dmw->f = dm->f
2153 COPYS(dmDeviceName
, CCHDEVICENAME
);
2154 COPYN(dmSpecVersion
);
2155 COPYN(dmDriverVersion
);
2156 switch ( dm
->dmSize
)
2158 case SIZEOF_DEVMODEA_300
:
2159 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
2161 case SIZEOF_DEVMODEA_400
:
2162 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
2164 case SIZEOF_DEVMODEA_500
:
2165 default: /* FIXME what to do??? */
2166 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
2169 COPYN(dmDriverExtra
);
2171 COPYN(dmPosition
.x
);
2172 COPYN(dmPosition
.y
);
2175 COPYN(dmDefaultSource
);
2176 COPYN(dmPrintQuality
);
2179 COPYN(dmYResolution
);
2182 COPYS(dmFormName
,CCHFORMNAME
);
2184 COPYN(dmBitsPerPel
);
2186 COPYN(dmPelsHeight
);
2187 COPYN(dmDisplayFlags
); // aka dmNup
2188 COPYN(dmDisplayFrequency
);
2190 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
2191 return dmw
; // we're done with 0x300 fields
2196 COPYN(dmDitherType
);
2200 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
2201 return dmw
; // we're done with 0x400 fields
2203 COPYN(dmPanningWidth
);
2204 COPYN(dmPanningHeight
);
2217 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
2220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2229 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
2232 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2242 GdiGetSpoolFileHandle(
2243 LPWSTR pwszPrinterName
,
2244 LPDEVMODEW pDevmode
,
2248 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2257 GdiDeleteSpoolFileHandle(
2258 HANDLE SpoolFileHandle
)
2261 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2271 HANDLE SpoolFileHandle
)
2274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2284 HANDLE SpoolFileHandle
)
2287 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2297 HANDLE SpoolFileHandle
,
2299 LPDWORD pdwPageType
)
2302 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2312 HANDLE SpoolFileHandle
,
2316 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2326 HANDLE SpoolFileHandle
)
2329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2339 HANDLE SpoolFileHandle
,
2341 RECT
*prectDocument
,
2346 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2356 HANDLE SpoolFileHandle
,
2357 DWORD dwOptimization
)
2360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2370 HANDLE SpoolFileHandle
)
2373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2382 GdiGetDevmodeForPage(
2383 HANDLE SpoolFileHandle
,
2389 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2399 HANDLE SpoolFileHandle
,
2403 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2411 hDc
, const BITMAPINFOHEADER
*Header
,
2412 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2415 /* FIMXE we need do more thing in user mode */
2416 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2424 CombineRgn(HRGN hDest
,
2429 /* FIXME some part should be done in user mode */
2430 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2444 /* FIXME some part should be done in user mode */
2445 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2455 EngGetDriverName(HDEV hdev
)
2458 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2464 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2467 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2470 BOOL retValue
= FALSE
;
2473 if ((!hdev
) && (!pEMFInfo
))
2475 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2477 /* FIXME check if it support or if it is pEMFInfo we got */
2478 /* FIXME copy the data from Dhpdev to pEMFInfo */
2502 /* FIXME some parts need be done in user mode */
2503 return NtGdiEllipse(hdc
,nLeftRect
,nTopRect
,nRightRect
,nBottomRect
);
2511 EngWideCharToMultiByte( UINT CodePage
,
2512 LPWSTR WideCharString
,
2513 INT BytesInWideCharString
,
2514 LPSTR MultiByteString
,
2515 INT BytesInMultiByteString
)
2517 return WideCharToMultiByte(
2521 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2523 BytesInMultiByteString
,
2533 PATHOBJ_bEnum(PATHOBJ
*ppo
,PATHDATA
*ppd
)
2536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2544 PATHOBJ_bEnumClipLines(PATHOBJ
*ppo
,ULONG cb
,CLIPLINE
*pcl
)
2547 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2555 PATHOBJ_vEnumStart(PATHOBJ
*ppo
)
2558 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2565 PATHOBJ_vEnumStartClipLines(PATHOBJ
*ppo
,CLIPOBJ
*pco
,SURFOBJ
*pso
,LINEATTRS
*pla
)
2568 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2575 PATHOBJ_vGetBounds(PATHOBJ
*ppo
,PRECTFX prectfx
)
2578 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2585 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2588 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2596 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2599 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2607 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2610 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2618 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2621 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2629 STROBJ_vEnumStart(STROBJ
*pstro
)
2632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2639 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2642 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2650 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2653 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2661 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2667 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2675 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2678 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2686 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2690 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2698 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2700 return XlateObj
->pulXlate
;
2710 LPWSTR pwszPrinterName
,
2711 LPDEVMODEW pDevmode
,
2713 EMFPLAYPROC pfnEMFPlayFn
,
2718 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2739 GdiPlayPrivatePageEMF
2741 HANDLE SpoolFileHandle
,
2747 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2754 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2757 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2766 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2768 /* FIXME some part need be done on user mode size */
2769 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2777 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2779 /* FIXME some part need be done on user mode size */
2780 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2788 FillRgn( IN HDC hdc
, IN HRGN hrgn
, IN HBRUSH hbrush
)
2790 /* FIXME some part need be done on user mode size */
2791 return NtGdiFillRgn( hdc
, hrgn
, hbrush
);