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
);
113 return NtGdiGetBoundsRect(hdc
,lprcBounds
,flags
& DCB_RESET
);
125 return NtGdiGetRandomRgn(hdc
,hrgn
,2);
141 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
172 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
187 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
248 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
263 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
272 SetTextJustification(
279 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
293 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
361 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
377 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
387 GetEnhMetaFileHeader(
394 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
403 GetEnhMetaFilePaletteEntries(
410 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
445 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
455 PlayEnhMetaFileRecord(
458 CONST ENHMETARECORD
*a2
,
463 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
479 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
493 CONST METAFILEPICT
*a3
)
496 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
513 if (GDI_HANDLE_GET_TYPE(hDC
) == GDI_OBJECT_TYPE_EMF
)
515 PLDC pLDC
= GdiGetLDC(hDC
);
518 SetLastError(ERROR_INVALID_HANDLE
);
521 if (pLDC
->iType
== LDC_EMFLDC
)
523 return EMFDRV_GdiComment( hDC
, bytes
, buffer
);
546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
558 CONST COLORADJUSTMENT
*a1
562 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
576 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
591 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
621 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
637 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
657 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
677 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
691 return NtGdiUnrealizeObject(a0
);
718 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
736 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
751 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
767 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
776 GetDeviceGammaRamp( HDC hdc
,
779 BOOL retValue
= FALSE
;
780 if (lpGammaRamp
== NULL
)
782 SetLastError(ERROR_INVALID_PARAMETER
);
786 retValue
= NtGdiGetDeviceGammaRamp(hdc
,lpGammaRamp
);
808 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
842 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
857 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
867 wglCreateLayerContext(
873 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
888 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
898 wglGetCurrentContext(VOID
)
901 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
911 wglGetCurrentDC(VOID
)
914 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
929 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
945 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
961 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
971 wglDescribeLayerPlane(
976 LPLAYERPLANEDESCRIPTOR a4
980 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
990 wglSetLayerPaletteEntries(
999 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1009 wglGetLayerPaletteEntries(
1018 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1028 wglRealizeLayerPalette(
1035 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1045 wglSwapLayerBuffers(
1051 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1056 /* === AFTER THIS POINT I GUESS... =========
1057 * (based on stack size in Norlander's .def)
1058 * === WHERE ARE THEY DEFINED? =============
1073 IsValidEnhMetaRecord(
1079 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1089 IsValidEnhMetaRecordOffExt(
1097 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1136 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1165 AddFontMemResourceEx(
1173 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1182 AddFontResourceTracking(
1188 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1199 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1202 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1211 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1223 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1235 EndFormPage(HDC hdc
)
1238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1249 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1261 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1264 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1273 GdiCleanCacheDC(HDC hdc
)
1276 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1285 GdiConvertAndCheckDC(HDC hdc
)
1288 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1297 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1300 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1309 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1312 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1321 GdiGetCodePage(HDC hdc
)
1324 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1333 GdiGetLocalBrush(HBRUSH hbr
)
1336 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1345 GdiGetLocalDC(HDC hdc
)
1348 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1357 GdiGetLocalFont(HFONT hfont
)
1360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1369 GdiIsMetaFileDC(HDC hdc
)
1372 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1381 GdiIsMetaPrintDC(HDC hdc
)
1384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1393 GdiIsPlayMetafileDC(HDC hdc
)
1396 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1405 GdiValidateHandle(HGDIOBJ hobj
)
1408 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1417 GetBitmapAttributes(HBITMAP hbm
)
1420 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1429 GetBrushAttributes(HBRUSH hbr
)
1432 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1450 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1468 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1479 GetEUDCTimeStamp(VOID
)
1481 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1489 GetFontAssocStatus(HDC hdc
)
1495 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1509 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1523 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1532 GetTextExtentExPointWPri(HDC hdc
,
1540 return NtGdiGetTextExtentExW(hdc
,lpwsz
,cwc
,dxMax
,pcCh
,pdxOut
,psize
,0);
1548 GetTextFaceAliasW(HDC hdc
,
1553 if ((!pszOut
) || (cChar
))
1555 retValue
= NtGdiGetTextFaceW(hdc
,cChar
,pszOut
,TRUE
);
1559 SetLastError(ERROR_INVALID_PARAMETER
);
1571 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1574 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1585 QueryFontAssocStatus(VOID
)
1588 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1597 RemoveFontMemResourceEx(HANDLE fh
)
1603 retValue
= NtGdiRemoveFontMemResourceEx(fh
);
1607 SetLastError(ERROR_INVALID_PARAMETER
);
1617 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1620 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1629 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1641 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1644 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1659 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1668 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1671 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1680 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1683 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1692 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1695 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1704 StartFormPage(HDC hdc
)
1707 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1716 UnloadNetworkFonts(DWORD unknown
)
1719 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1727 GetTextExtentExPointI(HDC hdc
,
1735 return NtGdiGetTextExtentExW(hdc
,pgiIn
,cgi
,nMaxExtent
,(ULONG
*)lpnFit
, (PULONG
) alpDx
,lpSize
,1);
1743 GetTextExtentPointI(HDC hdc
,
1748 return NtGdiGetTextExtent(hdc
,pgiIn
,cgi
,lpSize
,2);
1760 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
1763 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1774 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
1777 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1786 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
1789 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1798 GdiConvertMetaFilePict(HGLOBAL hMem
)
1801 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1810 GdiConvertToDevmodeW(DEVMODEA
*dm
)
1814 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
1815 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
1816 #define COPYN(f) dmw->f = dm->f
1817 COPYS(dmDeviceName
, CCHDEVICENAME
);
1818 COPYN(dmSpecVersion
);
1819 COPYN(dmDriverVersion
);
1820 switch ( dm
->dmSize
)
1822 case SIZEOF_DEVMODEA_300
:
1823 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
1825 case SIZEOF_DEVMODEA_400
:
1826 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
1828 case SIZEOF_DEVMODEA_500
:
1829 default: /* FIXME what to do??? */
1830 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
1833 COPYN(dmDriverExtra
);
1835 COPYN(dmPosition
.x
);
1836 COPYN(dmPosition
.y
);
1839 COPYN(dmDefaultSource
);
1840 COPYN(dmPrintQuality
);
1843 COPYN(dmYResolution
);
1846 COPYS(dmFormName
,CCHFORMNAME
);
1848 COPYN(dmBitsPerPel
);
1850 COPYN(dmPelsHeight
);
1851 COPYN(dmDisplayFlags
); // aka dmNup
1852 COPYN(dmDisplayFrequency
);
1854 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
1855 return dmw
; // we're done with 0x300 fields
1860 COPYN(dmDitherType
);
1864 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
1865 return dmw
; // we're done with 0x400 fields
1867 COPYN(dmPanningWidth
);
1868 COPYN(dmPanningHeight
);
1881 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
1884 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1893 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
1896 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1906 GdiGetSpoolFileHandle(
1907 LPWSTR pwszPrinterName
,
1908 LPDEVMODEW pDevmode
,
1912 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1921 GdiDeleteSpoolFileHandle(
1922 HANDLE SpoolFileHandle
)
1925 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1935 HANDLE SpoolFileHandle
)
1938 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1948 HANDLE SpoolFileHandle
)
1951 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1961 HANDLE SpoolFileHandle
,
1963 LPDWORD pdwPageType
)
1966 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1976 HANDLE SpoolFileHandle
,
1980 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1990 HANDLE SpoolFileHandle
)
1993 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2003 HANDLE SpoolFileHandle
,
2005 RECT
*prectDocument
,
2010 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2020 HANDLE SpoolFileHandle
,
2021 DWORD dwOptimization
)
2024 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2034 HANDLE SpoolFileHandle
)
2037 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2046 GdiGetDevmodeForPage(
2047 HANDLE SpoolFileHandle
,
2053 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2063 HANDLE SpoolFileHandle
,
2067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2075 hDc
, const BITMAPINFOHEADER
*Header
,
2076 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2079 /* FIMXE we need do more thing in user mode */
2080 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2088 CombineRgn(HRGN hDest
,
2093 /* FIXME some part should be done in user mode */
2094 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2108 /* FIXME some part should be done in user mode */
2109 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2119 EngGetDriverName(HDEV hdev
)
2122 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2128 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2131 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2134 BOOL retValue
= FALSE
;
2137 if ((!hdev
) && (!pEMFInfo
))
2139 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2141 /* FIXME check if it support or if it is pEMFInfo we got */
2142 /* FIXME copy the data from Dhpdev to pEMFInfo */
2156 EngWideCharToMultiByte( UINT CodePage
,
2157 LPWSTR WideCharString
,
2158 INT BytesInWideCharString
,
2159 LPSTR MultiByteString
,
2160 INT BytesInMultiByteString
)
2162 return WideCharToMultiByte(
2166 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2168 BytesInMultiByteString
,
2179 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2190 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2201 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2212 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2223 STROBJ_vEnumStart(STROBJ
*pstro
)
2226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2233 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2236 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2244 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2247 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2255 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2261 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2269 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2272 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2280 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2292 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2294 return XlateObj
->pulXlate
;
2304 LPWSTR pwszPrinterName
,
2305 LPDEVMODEW pDevmode
,
2307 EMFPLAYPROC pfnEMFPlayFn
,
2312 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2323 GdiPlayPrivatePageEMF
2325 HANDLE SpoolFileHandle
,
2331 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2338 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2341 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2350 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2352 /* FIXME some part need be done on user mode size */
2353 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2361 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2363 /* FIXME some part need be done on user mode size */
2364 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2374 IN PTRIVERTEX pVertex
,
2380 /* FIXME some part need be done in user mode */
2381 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2401 IN COLORREF TransColor
2404 /* FIXME some part need be done in user mode */
2405 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2418 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2419 /* status contain some form of return value that being save, what it is I do not known */
2420 /* unsue seam have zero effect, what it is for I do not known */
2422 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2433 HBITMAP in_format_BitMap
,
2438 /* FIXME guessing the prototypes */
2441 * it have create a new bitmap with desired in format,
2442 * then convert it src_bitmap to new format
2443 * and return it as HBITMAP
2458 /* FIXME some part are done in user mode */
2459 return NtGdiGetBkColor(hdc
);
2470 /* FIXME some part are done in user mode */
2471 return NtGdiGetBkMode(hdc
);
2480 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2482 /* FIXME some part are done in user mode */
2483 return NtGdiGetBrushOrgEx(hdc
,pt
);
2492 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2494 /* FIXME some part are done in user mode */
2495 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2504 GetDeviceCaps(HDC hdc
,
2507 /* FIXME some part need be done in user mode */
2508 return NtGdiGetDeviceCaps(hdc
,i
);
2518 GetCurrentPositionEx(HDC hdc
,
2521 /* FIXME some part need be done in user mode */
2522 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2534 /* FIXME some part need be done in user mode */
2535 return NtGdiGetClipBox(hdc
, lprc
);
2544 GetCharWidthFloatW(HDC hdc
,
2549 /* FIXME some part need be done in user mode */
2550 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2559 GetCharWidth32W(HDC hdc
,
2564 /* FIXME some part need be done in user mode */
2565 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2574 GetCharABCWidths(HDC hdc
,
2579 /* FIXME some part need be done in user mode */
2580 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2590 GetFontData(HDC hdc
,
2600 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);
2610 GetRegionData(HRGN hrgn
,
2612 LPRGNDATA lpRgnData
)
2619 return NtGdiGetRegionData(hrgn
,nCount
,lpRgnData
);
2629 GetRgnBox(HRGN hrgn
,
2632 /* FIXME some stuff need be done in user mode */
2633 return NtGdiGetRgnBox(hrgn
, prcOut
);
2643 OffsetRgn( HRGN hrgn
,
2647 /* FIXME some part are done in user mode */
2648 return NtGdiOffsetRgn(hrgn
,nXOffset
,nYOffset
);
2654 GetTextCharsetInfo(HDC hdc
,
2655 LPFONTSIGNATURE lpSig
,
2658 /* FIXME some part are done in user mode */
2659 return NtGdiGetTextCharsetInfo(hdc
, lpSig
, dwFlags
);
2666 IntersectClipRect(HDC hdc
,
2672 /* FIXME some part are done in user mode */
2673 return NtGdiIntersectClipRect(hdc
, nLeftRect
, nTopRect
, nRightRect
, nBottomRect
);
2678 OffsetClipRgn(HDC hdc
,
2682 /* FIXME some part are done in user mode */
2683 return NtGdiOffsetClipRgn( hdc
, nXOffset
, nYOffset
);
2689 NamedEscape(HDC hdc
,
2697 /* FIXME metadc, metadc are done most in user mode, and we do not support it
2698 * Windows 2000/XP/Vista ignore the current hdc, that are being pass and always set hdc to NULL
2699 * when it calls to NtGdiExtEscape from NamedEscape
2701 return NtGdiExtEscape(NULL
,pDriver
,wcslen(pDriver
),iEsc
,cjIn
,pjIn
,cjOut
,pjOut
);
2714 /* FIXME some part need be done in user mode */
2715 return NtGdiPatBlt( hdc
, nXLeft
, nYLeft
, nWidth
, nHeight
, dwRop
);
2720 PolyPatBlt(IN HDC hdc
,
2722 IN PPOLYPATBLT pPoly
,
2726 /* FIXME some part need be done in user mode */
2727 return NtGdiPolyPatBlt(hdc
, rop4
, pPoly
,Count
,Mode
);