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__);
29 StretchDIBits(HDC hdc
,
39 CONST BITMAPINFO
*lpBitsInfo
,
44 /* FIXME share memory */
45 return NtGdiStretchDIBits(hdc
, XDest
, YDest
, nDestWidth
, nDestHeight
, XSrc
, YSrc
,
46 nSrcWidth
, nSrcHeight
, lpBits
, lpBitsInfo
, iUsage
, dwRop
);
59 CONST BITMAPINFO
*lpbmi
,
62 /* FIXME share memory */
63 return NtGdiSetDIBits(hdc
, hbmp
, uStartScan
, cScanLines
, lpvBits
, lpbmi
, fuColorUse
);
71 SetStretchBltMode(HDC hdc
, int iStretchMode
)
73 /* FIXME share memory */
74 return NtGdiSetStretchBltMode(hdc
, iStretchMode
);
82 PtInRegion(IN HRGN hrgn
,
86 /* FIXME some stuff at user mode need be fixed */
87 return NtGdiPtInRegion(hrgn
,x
,y
);
95 RectInRegion(HRGN hrgn
,
98 /* FIXME some stuff at user mode need be fixed */
99 return NtGdiRectInRegion(hrgn
, (LPRECT
) prcl
);
107 RestoreDC(IN HDC hdc
,
110 /* FIXME Sharememory */
111 return NtGdiRestoreDC(hdc
, iLevel
);
121 /* FIXME Sharememory */
122 return NtGdiSaveDC(hdc
);
135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
151 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
167 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
176 Escape(HDC hdc
, INT escape
, INT in_count
, LPCSTR in_data
, LPVOID out_data
)
179 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
194 return NtGdiGetBoundsRect(hdc
,lprcBounds
,flags
& DCB_RESET
);
206 return NtGdiGetRandomRgn(hdc
,hrgn
,2);
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
253 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
268 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
291 SetBoundsRect(HDC hdc
,
295 /* FIXME add check for vaildate the flags */
296 return NtGdiSetBoundsRect(hdc
, (LPRECT
)prc
, flags
);
311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
358 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
376 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
390 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
408 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
424 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
434 GetEnhMetaFileHeader(
441 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
450 GetEnhMetaFilePaletteEntries(
457 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
);
623 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
638 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
653 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
668 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
684 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
704 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
724 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
734 UnrealizeObject(HGDIOBJ hgdiobj
)
736 BOOL retValue
= TRUE
;
738 if (GDI_HANDLE_GET_TYPE(hgdiobj
) != GDI_OBJECT_TYPE_BRUSH
)
740 retValue
= NtGdiUnrealizeObject(hgdiobj
);
770 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
788 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
798 GetColorSpace(HDC hDc
)
801 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
817 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
826 GetDeviceGammaRamp( HDC hdc
,
829 BOOL retValue
= FALSE
;
830 if (lpGammaRamp
== NULL
)
832 SetLastError(ERROR_INVALID_PARAMETER
);
836 retValue
= NtGdiGetDeviceGammaRamp(hdc
,lpGammaRamp
);
847 SetDeviceGammaRamp(HDC hdc
,
850 BOOL retValue
= FALSE
;
854 retValue
= NtGdiSetDeviceGammaRamp(hdc
, lpGammaRamp
);
858 SetLastError(ERROR_INVALID_PARAMETER
);
877 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
894 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
919 wglCreateLayerContext(
925 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
940 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
950 wglGetCurrentContext(VOID
)
953 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
963 wglGetCurrentDC(VOID
)
966 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
981 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
997 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1013 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1023 wglDescribeLayerPlane(
1028 LPLAYERPLANEDESCRIPTOR a4
1032 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1042 wglSetLayerPaletteEntries(
1051 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1061 wglGetLayerPaletteEntries(
1070 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1080 wglRealizeLayerPalette(
1087 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1097 wglSwapLayerBuffers(
1103 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1108 /* === AFTER THIS POINT I GUESS... =========
1109 * (based on stack size in Norlander's .def)
1110 * === WHERE ARE THEY DEFINED? =============
1118 IsValidEnhMetaRecord(
1124 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1134 IsValidEnhMetaRecordOffExt(
1142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1191 AddFontMemResourceEx(
1199 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1208 AddFontResourceTracking(
1214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1225 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1228 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1237 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1240 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1249 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1261 EndFormPage(HDC hdc
)
1264 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1275 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1278 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1287 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1290 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1299 GdiCleanCacheDC(HDC hdc
)
1302 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1311 GdiConvertAndCheckDC(HDC hdc
)
1314 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1323 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1335 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1338 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1347 GdiIsMetaFileDC(HDC hdc
)
1350 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1359 GdiIsMetaPrintDC(HDC hdc
)
1362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1371 GdiIsPlayMetafileDC(HDC hdc
)
1374 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1383 GdiValidateHandle(HGDIOBJ hobj
)
1386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1395 GetBitmapAttributes(HBITMAP hbm
)
1398 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1407 GetBrushAttributes(HBRUSH hbr
)
1410 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1419 GetEUDCTimeStamp(VOID
)
1421 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1429 GetFontAssocStatus(HDC hdc
)
1435 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1449 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1462 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1471 GetTextExtentExPointWPri(HDC hdc
,
1479 return NtGdiGetTextExtentExW(hdc
,lpwsz
,cwc
,dxMax
,pcCh
,pdxOut
,psize
,0);
1487 GetTextFaceAliasW(HDC hdc
,
1492 if ((!pszOut
) || (cChar
))
1494 retValue
= NtGdiGetTextFaceW(hdc
,cChar
,pszOut
,TRUE
);
1498 SetLastError(ERROR_INVALID_PARAMETER
);
1510 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1513 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1524 QueryFontAssocStatus(VOID
)
1527 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1536 RemoveFontMemResourceEx(HANDLE fh
)
1542 retValue
= NtGdiRemoveFontMemResourceEx(fh
);
1546 SetLastError(ERROR_INVALID_PARAMETER
);
1556 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1559 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1568 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1580 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1583 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1596 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1605 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1608 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1619 StartFormPage(HDC hdc
)
1621 return StartPage(hdc
);
1629 UnloadNetworkFonts(DWORD unknown
)
1632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1640 GetTextExtentExPointI(HDC hdc
,
1648 return NtGdiGetTextExtentExW(hdc
,pgiIn
,cgi
,nMaxExtent
,(ULONG
*)lpnFit
, (PULONG
) alpDx
,lpSize
,1);
1656 GetTextExtentPointI(HDC hdc
,
1661 return NtGdiGetTextExtent(hdc
,pgiIn
,cgi
,lpSize
,2);
1673 GdiRealizationInfo(HDC hdc
,
1674 PREALIZATION_INFO pri
)
1677 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1689 EXTTEXTMETRIC
*petm
)
1692 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1701 GdiAddGlsRecord(HDC hdc
,
1707 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1716 GdiConvertMetaFilePict(HGLOBAL hMem
)
1719 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1728 GdiConvertToDevmodeW(DEVMODEA
*dm
)
1732 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
1733 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
1734 #define COPYN(f) dmw->f = dm->f
1735 COPYS(dmDeviceName
, CCHDEVICENAME
);
1736 COPYN(dmSpecVersion
);
1737 COPYN(dmDriverVersion
);
1738 switch ( dm
->dmSize
)
1740 case SIZEOF_DEVMODEA_300
:
1741 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
1743 case SIZEOF_DEVMODEA_400
:
1744 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
1746 case SIZEOF_DEVMODEA_500
:
1747 default: /* FIXME what to do??? */
1748 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
1751 COPYN(dmDriverExtra
);
1753 COPYN(dmPosition
.x
);
1754 COPYN(dmPosition
.y
);
1757 COPYN(dmDefaultSource
);
1758 COPYN(dmPrintQuality
);
1761 COPYN(dmYResolution
);
1764 COPYS(dmFormName
,CCHFORMNAME
);
1766 COPYN(dmBitsPerPel
);
1768 COPYN(dmPelsHeight
);
1769 COPYN(dmDisplayFlags
); // aka dmNup
1770 COPYN(dmDisplayFrequency
);
1772 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
1774 return dmw
; // we're done with 0x300 fields
1780 COPYN(dmDitherType
);
1784 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
1786 return dmw
; // we're done with 0x400 fields
1789 COPYN(dmPanningWidth
);
1790 COPYN(dmPanningHeight
);
1803 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
1806 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1815 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
1818 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1828 GdiGetSpoolFileHandle(LPWSTR pwszPrinterName
,
1829 LPDEVMODEW pDevmode
,
1833 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1842 GdiDeleteSpoolFileHandle(HANDLE SpoolFileHandle
)
1845 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1854 GdiGetPageCount(HANDLE SpoolFileHandle
)
1857 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1866 GdiGetDC(HANDLE SpoolFileHandle
)
1869 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1878 GdiGetPageHandle(HANDLE SpoolFileHandle
,
1880 LPDWORD pdwPageType
)
1883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1892 GdiStartDocEMF(HANDLE SpoolFileHandle
,
1896 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1905 GdiStartPageEMF(HANDLE SpoolFileHandle
)
1908 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1917 GdiPlayPageEMF(HANDLE SpoolFileHandle
,
1919 RECT
*prectDocument
,
1924 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1933 GdiEndPageEMF(HANDLE SpoolFileHandle
,
1934 DWORD dwOptimization
)
1937 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1946 GdiEndDocEMF(HANDLE SpoolFileHandle
)
1949 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1958 GdiGetDevmodeForPage(HANDLE SpoolFileHandle
,
1964 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1973 GdiResetDCEMF(HANDLE SpoolFileHandle
,
1977 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1984 CreateDIBitmap(HDC hDc
,
1985 const BITMAPINFOHEADER
*Header
,
1986 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
1989 /* FIMXE we need do more thing in user mode */
1990 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
1998 CombineRgn(HRGN hDest
,
2003 /* FIXME some part should be done in user mode */
2004 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2011 CreateBitmap(INT Width
,
2017 /* FIXME some part should be done in user mode */
2018 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2025 EngGetDriverName(HDEV hdev
)
2028 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2036 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2040 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2049 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2051 return XlateObj
->pulXlate
;
2059 GdiPlayEMF(LPWSTR pwszPrinterName
,
2060 LPDEVMODEW pDevmode
,
2062 EMFPLAYPROC pfnEMFPlayFn
,
2067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2078 GdiPlayPrivatePageEMF(HANDLE SpoolFileHandle
,
2080 RECT
*prectDocument
)
2083 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2090 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2093 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2102 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2104 /* FIXME some part need be done on user mode size */
2105 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2113 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2115 /* FIXME some part need be done on user mode size */
2116 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2126 IN PTRIVERTEX pVertex
,
2132 /* FIXME some part need be done in user mode */
2133 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2142 GdiTransparentBlt(IN HDC hdcDst
,
2152 IN COLORREF TransColor
2155 /* FIXME some part need be done in user mode */
2156 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2169 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2170 /* status contain some form of return value that being save, what it is I do not known */
2171 /* unsue seam have zero effect, what it is for I do not known */
2173 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2184 HBITMAP in_format_BitMap
,
2189 /* FIXME guessing the prototypes */
2192 * it have create a new bitmap with desired in format,
2193 * then convert it src_bitmap to new format
2194 * and return it as HBITMAP
2207 GetDeviceCaps(HDC hdc
,
2210 /* FIXME some part need be done in user mode */
2211 return NtGdiGetDeviceCaps(hdc
,i
);
2223 /* FIXME some part need be done in user mode */
2224 return NtGdiGetAppClipBox(hdc
, lprc
);
2233 GetFontData(HDC hdc
,
2243 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);
2253 GetRegionData(HRGN hrgn
,
2255 LPRGNDATA lpRgnData
)
2262 return NtGdiGetRegionData(hrgn
,nCount
,lpRgnData
);
2272 GetRgnBox(HRGN hrgn
,
2275 /* FIXME some stuff need be done in user mode */
2276 return NtGdiGetRgnBox(hrgn
, prcOut
);
2286 OffsetRgn( HRGN hrgn
,
2290 /* FIXME some part are done in user mode */
2291 return NtGdiOffsetRgn(hrgn
,nXOffset
,nYOffset
);
2297 GetTextCharsetInfo(HDC hdc
,
2298 LPFONTSIGNATURE lpSig
,
2301 /* FIXME some part are done in user mode */
2302 return NtGdiGetTextCharsetInfo(hdc
, lpSig
, dwFlags
);
2309 IntersectClipRect(HDC hdc
,
2315 /* FIXME some part are done in user mode */
2316 return NtGdiIntersectClipRect(hdc
, nLeftRect
, nTopRect
, nRightRect
, nBottomRect
);
2321 OffsetClipRgn(HDC hdc
,
2325 /* FIXME some part are done in user mode */
2326 return NtGdiOffsetClipRgn( hdc
, nXOffset
, nYOffset
);
2332 NamedEscape(HDC hdc
,
2340 /* FIXME metadc, metadc are done most in user mode, and we do not support it
2341 * Windows 2000/XP/Vista ignore the current hdc, that are being pass and always set hdc to NULL
2342 * when it calls to NtGdiExtEscape from NamedEscape
2344 return NtGdiExtEscape(NULL
,pDriver
,wcslen(pDriver
),iEsc
,cjIn
,pjIn
,cjOut
,pjOut
);
2353 /* FIXME wrong protypes, it is a fastcall api */
2356 cGetTTFFromFOT(DWORD x1
,DWORD x2
,DWORD x3
, DWORD x4
, DWORD x5
, DWORD x6
, DWORD x7
)
2359 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);