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 TranslateCharsetInfo(DWORD
* lpSrc
,
33 /* FIXME share memory */
34 return NtGdiTranslateCharsetInfo(lpSrc
, lpCs
, dwFlags
);
42 StretchDIBits(HDC hdc
,
52 CONST BITMAPINFO
*lpBitsInfo
,
57 /* FIXME share memory */
58 return NtGdiStretchDIBits(hdc
, XDest
, YDest
, nDestWidth
, nDestHeight
, XSrc
, YSrc
,
59 nSrcWidth
, nSrcHeight
, lpBits
, lpBitsInfo
, iUsage
, dwRop
);
72 CONST BITMAPINFO
*lpbmi
,
75 /* FIXME share memory */
76 return NtGdiSetDIBits(hdc
, hbmp
, uStartScan
, cScanLines
, lpvBits
, lpbmi
, fuColorUse
);
84 SetGraphicsMode(HDC hdc
,
87 /* FIXME share memory */
88 return NtGdiSetGraphicsMode(hdc
, iMode
);
96 SetPolyFillMode(HDC hdc
,
99 /* FIXME share memory */
100 return NtGdiSetPolyFillMode(hdc
, iPolyFillMode
);
112 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
121 SetStretchBltMode(HDC hdc
, int iStretchMode
)
123 /* FIXME share memory */
124 return NtGdiSetStretchBltMode(hdc
, iStretchMode
);
132 SetRectRgn(HRGN hrgn
,
138 /* FIXME metadc stuff */
139 return NtGdiSetRectRgn(hrgn
, nLeftRect
, nTopRect
, nRightRect
, nBottomRect
);
147 SetTextAlign(HDC hdc
,
150 /* FIXME share memory */
151 return NtGdiSetTextAlign(hdc
, fMode
);
159 SetViewportExtEx(HDC hdc
,
164 /* FIXME share memory */
165 return NtGdiSetViewportExtEx(hdc
, nXExtent
, nYExtent
, lpSize
);
173 SetWindowOrgEx(HDC hdc
,
178 /* FIXME share memory */
179 return NtGdiSetWindowOrgEx(hdc
,X
,Y
,lpPoint
);
187 SetWindowExtEx(HDC hdc
,
192 /* FIXME share memory */
193 return NtGdiSetWindowExtEx(hdc
, nXExtent
, nYExtent
, lpSize
);
201 SetViewportOrgEx(HDC hdc
,
206 /* FIXME share memory */
207 return NtGdiSetViewportOrgEx(hdc
,X
,Y
,lpPoint
);
215 SetBrushOrgEx(HDC hdc
,
220 /* FIXME share memory */
221 return NtGdiSetBrushOrg(hdc
,nXOrg
,nYOrg
,lppt
);
229 PtInRegion(IN HRGN hrgn
,
233 /* FIXME some stuff at user mode need be fixed */
234 return NtGdiPtInRegion(hrgn
,x
,y
);
242 RectInRegion(HRGN hrgn
,
245 /* FIXME some stuff at user mode need be fixed */
246 return NtGdiRectInRegion(hrgn
, (LPRECT
) prcl
);
254 RestoreDC(IN HDC hdc
,
257 /* FIXME Sharememory */
258 return NtGdiRestoreDC(hdc
, iLevel
);
268 /* FIXME Sharememory */
269 return NtGdiSaveDC(hdc
);
282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
314 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
323 Escape(HDC hdc
, INT escape
, INT in_count
, LPCSTR in_data
, LPVOID out_data
)
326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
342 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
358 return NtGdiGetBoundsRect(hdc
,lprcBounds
,flags
& DCB_RESET
);
370 return NtGdiGetRandomRgn(hdc
,hrgn
,2);
386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
402 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
417 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
432 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
446 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
455 SetBoundsRect(HDC hdc
,
459 /* FIXME add check for vaildate the flags */
460 return NtGdiSetBoundsRect(hdc
, (LPRECT
)prc
, flags
);
475 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
490 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
499 SetTextJustification(
506 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
520 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
538 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
556 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
570 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
588 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
604 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
614 GetEnhMetaFileHeader(
621 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
630 GetEnhMetaFilePaletteEntries(
637 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
655 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
682 PlayEnhMetaFileRecord(
685 CONST ENHMETARECORD
*a2
,
690 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
706 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
720 CONST METAFILEPICT
*a3
)
723 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
740 if (GDI_HANDLE_GET_TYPE(hDC
) == GDI_OBJECT_TYPE_EMF
)
742 PLDC pLDC
= GdiGetLDC(hDC
);
745 SetLastError(ERROR_INVALID_HANDLE
);
748 if (pLDC
->iType
== LDC_EMFLDC
)
750 return EMFDRV_GdiComment( hDC
, bytes
, buffer
);
773 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
785 CONST COLORADJUSTMENT
*a1
789 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
803 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
818 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
833 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
848 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
864 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
884 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
904 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
914 UnrealizeObject(HGDIOBJ hgdiobj
)
916 BOOL retValue
= TRUE
;
918 if (GDI_HANDLE_GET_TYPE(hgdiobj
) != GDI_OBJECT_TYPE_BRUSH
)
920 retValue
= NtGdiUnrealizeObject(hgdiobj
);
950 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
968 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
978 GetColorSpace(HDC hDc
)
981 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
997 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1006 GetDeviceGammaRamp( HDC hdc
,
1009 BOOL retValue
= FALSE
;
1010 if (lpGammaRamp
== NULL
)
1012 SetLastError(ERROR_INVALID_PARAMETER
);
1016 retValue
= NtGdiGetDeviceGammaRamp(hdc
,lpGammaRamp
);
1027 SetDeviceGammaRamp(HDC hdc
,
1030 BOOL retValue
= FALSE
;
1034 retValue
= NtGdiSetDeviceGammaRamp(hdc
, lpGammaRamp
);
1038 SetLastError(ERROR_INVALID_PARAMETER
);
1057 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1074 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1089 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1099 wglCreateLayerContext(
1105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1120 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1130 wglGetCurrentContext(VOID
)
1133 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1143 wglGetCurrentDC(VOID
)
1146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1177 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1203 wglDescribeLayerPlane(
1208 LPLAYERPLANEDESCRIPTOR a4
1212 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1222 wglSetLayerPaletteEntries(
1231 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1241 wglGetLayerPaletteEntries(
1250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1260 wglRealizeLayerPalette(
1267 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1277 wglSwapLayerBuffers(
1283 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1288 /* === AFTER THIS POINT I GUESS... =========
1289 * (based on stack size in Norlander's .def)
1290 * === WHERE ARE THEY DEFINED? =============
1298 IsValidEnhMetaRecord(
1304 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1314 IsValidEnhMetaRecordOffExt(
1322 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1371 AddFontMemResourceEx(
1379 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1388 AddFontResourceTracking(
1394 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1405 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1408 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1417 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1420 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1429 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1432 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1441 EndFormPage(HDC hdc
)
1444 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1455 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1458 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1467 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1470 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1479 GdiCleanCacheDC(HDC hdc
)
1482 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1491 GdiConvertAndCheckDC(HDC hdc
)
1494 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1503 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1506 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1515 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1518 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1527 GdiGetCodePage(HDC hdc
)
1530 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1539 GdiGetLocalBrush(HBRUSH hbr
)
1542 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1551 GdiGetLocalDC(HDC hdc
)
1554 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1563 GdiGetLocalFont(HFONT hfont
)
1566 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1575 GdiIsMetaFileDC(HDC hdc
)
1578 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1587 GdiIsMetaPrintDC(HDC hdc
)
1590 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1599 GdiIsPlayMetafileDC(HDC hdc
)
1602 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1611 GdiValidateHandle(HGDIOBJ hobj
)
1614 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1623 GetBitmapAttributes(HBITMAP hbm
)
1626 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1635 GetBrushAttributes(HBRUSH hbr
)
1638 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1647 GetCharABCWidthsI(HDC hdc
,
1655 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1664 GetCharWidthI(HDC hdc
,
1672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1683 GetEUDCTimeStamp(VOID
)
1685 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1693 GetFontAssocStatus(HDC hdc
)
1699 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1713 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1735 GetTextExtentExPointWPri(HDC hdc
,
1743 return NtGdiGetTextExtentExW(hdc
,lpwsz
,cwc
,dxMax
,pcCh
,pdxOut
,psize
,0);
1751 GetTextFaceAliasW(HDC hdc
,
1756 if ((!pszOut
) || (cChar
))
1758 retValue
= NtGdiGetTextFaceW(hdc
,cChar
,pszOut
,TRUE
);
1762 SetLastError(ERROR_INVALID_PARAMETER
);
1774 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1777 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1788 QueryFontAssocStatus(VOID
)
1791 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1800 RemoveFontMemResourceEx(HANDLE fh
)
1806 retValue
= NtGdiRemoveFontMemResourceEx(fh
);
1810 SetLastError(ERROR_INVALID_PARAMETER
);
1820 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1823 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1832 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1835 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1844 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1847 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1860 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1869 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1872 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1883 StartFormPage(HDC hdc
)
1885 return StartPage(hdc
);
1893 UnloadNetworkFonts(DWORD unknown
)
1896 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1904 GetTextExtentExPointI(HDC hdc
,
1912 return NtGdiGetTextExtentExW(hdc
,pgiIn
,cgi
,nMaxExtent
,(ULONG
*)lpnFit
, (PULONG
) alpDx
,lpSize
,1);
1920 GetTextExtentPointI(HDC hdc
,
1925 return NtGdiGetTextExtent(hdc
,pgiIn
,cgi
,lpSize
,2);
1937 GdiRealizationInfo(HDC hdc
,
1938 PREALIZATION_INFO pri
)
1941 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1953 EXTTEXTMETRIC
*petm
)
1956 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1965 GdiAddGlsRecord(HDC hdc
,
1971 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1980 GdiConvertMetaFilePict(HGLOBAL hMem
)
1983 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1992 GdiConvertToDevmodeW(DEVMODEA
*dm
)
1996 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
1997 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
1998 #define COPYN(f) dmw->f = dm->f
1999 COPYS(dmDeviceName
, CCHDEVICENAME
);
2000 COPYN(dmSpecVersion
);
2001 COPYN(dmDriverVersion
);
2002 switch ( dm
->dmSize
)
2004 case SIZEOF_DEVMODEA_300
:
2005 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
2007 case SIZEOF_DEVMODEA_400
:
2008 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
2010 case SIZEOF_DEVMODEA_500
:
2011 default: /* FIXME what to do??? */
2012 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
2015 COPYN(dmDriverExtra
);
2017 COPYN(dmPosition
.x
);
2018 COPYN(dmPosition
.y
);
2021 COPYN(dmDefaultSource
);
2022 COPYN(dmPrintQuality
);
2025 COPYN(dmYResolution
);
2028 COPYS(dmFormName
,CCHFORMNAME
);
2030 COPYN(dmBitsPerPel
);
2032 COPYN(dmPelsHeight
);
2033 COPYN(dmDisplayFlags
); // aka dmNup
2034 COPYN(dmDisplayFrequency
);
2036 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
2038 return dmw
; // we're done with 0x300 fields
2044 COPYN(dmDitherType
);
2048 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
2050 return dmw
; // we're done with 0x400 fields
2053 COPYN(dmPanningWidth
);
2054 COPYN(dmPanningHeight
);
2067 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
2070 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2079 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
2082 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2092 GdiGetSpoolFileHandle(LPWSTR pwszPrinterName
,
2093 LPDEVMODEW pDevmode
,
2097 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2106 GdiDeleteSpoolFileHandle(HANDLE SpoolFileHandle
)
2109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2118 GdiGetPageCount(HANDLE SpoolFileHandle
)
2121 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2130 GdiGetDC(HANDLE SpoolFileHandle
)
2133 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2142 GdiGetPageHandle(HANDLE SpoolFileHandle
,
2144 LPDWORD pdwPageType
)
2147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2156 GdiStartDocEMF(HANDLE SpoolFileHandle
,
2160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2169 GdiStartPageEMF(HANDLE SpoolFileHandle
)
2172 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2181 GdiPlayPageEMF(HANDLE SpoolFileHandle
,
2183 RECT
*prectDocument
,
2188 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2197 GdiEndPageEMF(HANDLE SpoolFileHandle
,
2198 DWORD dwOptimization
)
2201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2210 GdiEndDocEMF(HANDLE SpoolFileHandle
)
2213 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2222 GdiGetDevmodeForPage(HANDLE SpoolFileHandle
,
2228 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2237 GdiResetDCEMF(HANDLE SpoolFileHandle
,
2241 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2248 CreateDIBitmap(HDC hDc
,
2249 const BITMAPINFOHEADER
*Header
,
2250 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2253 /* FIMXE we need do more thing in user mode */
2254 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2262 CombineRgn(HRGN hDest
,
2267 /* FIXME some part should be done in user mode */
2268 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2275 CreateBitmap(INT Width
,
2281 /* FIXME some part should be done in user mode */
2282 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2292 EngGetDriverName(HDEV hdev
)
2295 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2305 EngWideCharToMultiByte( UINT CodePage
,
2306 LPWSTR WideCharString
,
2307 INT BytesInWideCharString
,
2308 LPSTR MultiByteString
,
2309 INT BytesInMultiByteString
)
2311 return WideCharToMultiByte(
2315 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2317 BytesInMultiByteString
,
2327 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2331 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2340 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2342 return XlateObj
->pulXlate
;
2350 GdiPlayEMF(LPWSTR pwszPrinterName
,
2351 LPDEVMODEW pDevmode
,
2353 EMFPLAYPROC pfnEMFPlayFn
,
2358 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2369 GdiPlayPrivatePageEMF(HANDLE SpoolFileHandle
,
2371 RECT
*prectDocument
)
2374 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2381 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2393 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2395 /* FIXME some part need be done on user mode size */
2396 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2404 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2406 /* FIXME some part need be done on user mode size */
2407 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2417 IN PTRIVERTEX pVertex
,
2423 /* FIXME some part need be done in user mode */
2424 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2433 GdiTransparentBlt(IN HDC hdcDst
,
2443 IN COLORREF TransColor
2446 /* FIXME some part need be done in user mode */
2447 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2460 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2461 /* status contain some form of return value that being save, what it is I do not known */
2462 /* unsue seam have zero effect, what it is for I do not known */
2464 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2475 HBITMAP in_format_BitMap
,
2480 /* FIXME guessing the prototypes */
2483 * it have create a new bitmap with desired in format,
2484 * then convert it src_bitmap to new format
2485 * and return it as HBITMAP
2500 /* FIXME some part are done in user mode */
2501 return NtGdiGetBkColor(hdc
);
2512 /* FIXME some part are done in user mode */
2513 return NtGdiGetBkMode(hdc
);
2522 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2524 /* FIXME some part are done in user mode */
2525 return NtGdiGetBrushOrgEx(hdc
,pt
);
2534 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2536 /* FIXME some part are done in user mode */
2537 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2546 GetDeviceCaps(HDC hdc
,
2549 /* FIXME some part need be done in user mode */
2550 return NtGdiGetDeviceCaps(hdc
,i
);
2560 GetCurrentPositionEx(HDC hdc
,
2563 /* FIXME some part need be done in user mode */
2564 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2576 /* FIXME some part need be done in user mode */
2577 return NtGdiGetClipBox(hdc
, lprc
);
2586 GetCharWidthFloatW(HDC hdc
,
2591 /* FIXME some part need be done in user mode */
2592 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2601 GetCharWidth32W(HDC hdc
,
2606 /* FIXME some part need be done in user mode */
2607 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2616 GetCharABCWidths(HDC hdc
,
2621 /* FIXME some part need be done in user mode */
2622 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2632 GetFontData(HDC hdc
,
2642 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);
2652 GetRegionData(HRGN hrgn
,
2654 LPRGNDATA lpRgnData
)
2661 return NtGdiGetRegionData(hrgn
,nCount
,lpRgnData
);
2671 GetRgnBox(HRGN hrgn
,
2674 /* FIXME some stuff need be done in user mode */
2675 return NtGdiGetRgnBox(hrgn
, prcOut
);
2685 OffsetRgn( HRGN hrgn
,
2689 /* FIXME some part are done in user mode */
2690 return NtGdiOffsetRgn(hrgn
,nXOffset
,nYOffset
);
2696 GetTextCharsetInfo(HDC hdc
,
2697 LPFONTSIGNATURE lpSig
,
2700 /* FIXME some part are done in user mode */
2701 return NtGdiGetTextCharsetInfo(hdc
, lpSig
, dwFlags
);
2708 IntersectClipRect(HDC hdc
,
2714 /* FIXME some part are done in user mode */
2715 return NtGdiIntersectClipRect(hdc
, nLeftRect
, nTopRect
, nRightRect
, nBottomRect
);
2720 OffsetClipRgn(HDC hdc
,
2724 /* FIXME some part are done in user mode */
2725 return NtGdiOffsetClipRgn( hdc
, nXOffset
, nYOffset
);
2731 NamedEscape(HDC hdc
,
2739 /* FIXME metadc, metadc are done most in user mode, and we do not support it
2740 * Windows 2000/XP/Vista ignore the current hdc, that are being pass and always set hdc to NULL
2741 * when it calls to NtGdiExtEscape from NamedEscape
2743 return NtGdiExtEscape(NULL
,pDriver
,wcslen(pDriver
),iEsc
,cjIn
,pjIn
,cjOut
,pjOut
);
2756 /* FIXME some part need be done in user mode */
2757 return NtGdiPatBlt( hdc
, nXLeft
, nYLeft
, nWidth
, nHeight
, dwRop
);
2762 PolyPatBlt(IN HDC hdc
,
2764 IN PPOLYPATBLT pPoly
,
2768 /* FIXME some part need be done in user mode */
2769 return NtGdiPolyPatBlt(hdc
, rop4
, pPoly
,Count
,Mode
);