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
);
1134 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1169 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1178 AddFontMemResourceEx(
1186 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1195 AddFontResourceTracking(
1201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1212 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1224 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1227 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1236 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1248 EndFormPage(HDC hdc
)
1251 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1262 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1265 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1274 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1277 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1286 GdiCleanCacheDC(HDC hdc
)
1289 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1298 GdiConvertAndCheckDC(HDC hdc
)
1301 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1310 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1313 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1322 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1325 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1334 GdiGetCodePage(HDC hdc
)
1337 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1346 GdiGetLocalBrush(HBRUSH hbr
)
1349 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1358 GdiGetLocalDC(HDC hdc
)
1361 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1370 GdiGetLocalFont(HFONT hfont
)
1373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1382 GdiIsMetaFileDC(HDC hdc
)
1385 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1394 GdiIsMetaPrintDC(HDC hdc
)
1397 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1406 GdiIsPlayMetafileDC(HDC hdc
)
1409 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1418 GdiValidateHandle(HGDIOBJ hobj
)
1421 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1430 GetBitmapAttributes(HBITMAP hbm
)
1433 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1442 GetBrushAttributes(HBRUSH hbr
)
1445 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1463 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1481 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1492 GetEUDCTimeStamp(VOID
)
1494 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1502 GetFontAssocStatus(HDC hdc
)
1508 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1522 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1545 GetTextExtentExPointWPri(HDC hdc
,
1553 return NtGdiGetTextExtentExW(hdc
,lpwsz
,cwc
,dxMax
,pcCh
,pdxOut
,psize
,0);
1561 GetTextFaceAliasW(HDC hdc
,
1566 if ((!pszOut
) || (cChar
))
1568 retValue
= NtGdiGetTextFaceW(hdc
,cChar
,pszOut
,TRUE
);
1572 SetLastError(ERROR_INVALID_PARAMETER
);
1584 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1587 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1598 QueryFontAssocStatus(VOID
)
1601 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1610 RemoveFontMemResourceEx(HANDLE fh
)
1616 retValue
= NtGdiRemoveFontMemResourceEx(fh
);
1620 SetLastError(ERROR_INVALID_PARAMETER
);
1630 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1633 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1642 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1645 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1654 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1657 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1681 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1684 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1693 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1696 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1705 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1708 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1717 StartFormPage(HDC hdc
)
1720 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1729 UnloadNetworkFonts(DWORD unknown
)
1732 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1740 GetTextExtentExPointI(HDC hdc
,
1748 return NtGdiGetTextExtentExW(hdc
,pgiIn
,cgi
,nMaxExtent
,(ULONG
*)lpnFit
, (PULONG
) alpDx
,lpSize
,1);
1756 GetTextExtentPointI(HDC hdc
,
1761 return NtGdiGetTextExtent(hdc
,pgiIn
,cgi
,lpSize
,2);
1773 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
1776 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1787 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
1790 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1799 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
1802 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1811 GdiConvertMetaFilePict(HGLOBAL hMem
)
1814 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1823 GdiConvertToDevmodeW(DEVMODEA
*dm
)
1827 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
1828 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
1829 #define COPYN(f) dmw->f = dm->f
1830 COPYS(dmDeviceName
, CCHDEVICENAME
);
1831 COPYN(dmSpecVersion
);
1832 COPYN(dmDriverVersion
);
1833 switch ( dm
->dmSize
)
1835 case SIZEOF_DEVMODEA_300
:
1836 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
1838 case SIZEOF_DEVMODEA_400
:
1839 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
1841 case SIZEOF_DEVMODEA_500
:
1842 default: /* FIXME what to do??? */
1843 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
1846 COPYN(dmDriverExtra
);
1848 COPYN(dmPosition
.x
);
1849 COPYN(dmPosition
.y
);
1852 COPYN(dmDefaultSource
);
1853 COPYN(dmPrintQuality
);
1856 COPYN(dmYResolution
);
1859 COPYS(dmFormName
,CCHFORMNAME
);
1861 COPYN(dmBitsPerPel
);
1863 COPYN(dmPelsHeight
);
1864 COPYN(dmDisplayFlags
); // aka dmNup
1865 COPYN(dmDisplayFrequency
);
1867 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
1868 return dmw
; // we're done with 0x300 fields
1873 COPYN(dmDitherType
);
1877 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
1878 return dmw
; // we're done with 0x400 fields
1880 COPYN(dmPanningWidth
);
1881 COPYN(dmPanningHeight
);
1894 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
1897 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1906 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
1909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1919 GdiGetSpoolFileHandle(
1920 LPWSTR pwszPrinterName
,
1921 LPDEVMODEW pDevmode
,
1925 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1934 GdiDeleteSpoolFileHandle(
1935 HANDLE SpoolFileHandle
)
1938 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1948 HANDLE SpoolFileHandle
)
1951 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1961 HANDLE SpoolFileHandle
)
1964 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1974 HANDLE SpoolFileHandle
,
1976 LPDWORD pdwPageType
)
1979 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1989 HANDLE SpoolFileHandle
,
1993 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2003 HANDLE SpoolFileHandle
)
2006 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2016 HANDLE SpoolFileHandle
,
2018 RECT
*prectDocument
,
2023 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2033 HANDLE SpoolFileHandle
,
2034 DWORD dwOptimization
)
2037 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2047 HANDLE SpoolFileHandle
)
2050 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2059 GdiGetDevmodeForPage(
2060 HANDLE SpoolFileHandle
,
2066 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2076 HANDLE SpoolFileHandle
,
2080 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2088 hDc
, const BITMAPINFOHEADER
*Header
,
2089 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2092 /* FIMXE we need do more thing in user mode */
2093 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2101 CombineRgn(HRGN hDest
,
2106 /* FIXME some part should be done in user mode */
2107 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2121 /* FIXME some part should be done in user mode */
2122 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2132 EngGetDriverName(HDEV hdev
)
2135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2141 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2144 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2147 BOOL retValue
= FALSE
;
2150 if ((!hdev
) && (!pEMFInfo
))
2152 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2154 /* FIXME check if it support or if it is pEMFInfo we got */
2155 /* FIXME copy the data from Dhpdev to pEMFInfo */
2169 EngWideCharToMultiByte( UINT CodePage
,
2170 LPWSTR WideCharString
,
2171 INT BytesInWideCharString
,
2172 LPSTR MultiByteString
,
2173 INT BytesInMultiByteString
)
2175 return WideCharToMultiByte(
2179 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2181 BytesInMultiByteString
,
2192 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2203 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2206 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2214 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2225 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2228 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2236 STROBJ_vEnumStart(STROBJ
*pstro
)
2239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2246 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2249 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2257 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2260 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2268 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2282 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2285 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2293 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2297 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2305 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2307 return XlateObj
->pulXlate
;
2317 LPWSTR pwszPrinterName
,
2318 LPDEVMODEW pDevmode
,
2320 EMFPLAYPROC pfnEMFPlayFn
,
2325 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2336 GdiPlayPrivatePageEMF
2338 HANDLE SpoolFileHandle
,
2344 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2351 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2363 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2365 /* FIXME some part need be done on user mode size */
2366 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2374 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2376 /* FIXME some part need be done on user mode size */
2377 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2387 IN PTRIVERTEX pVertex
,
2393 /* FIXME some part need be done in user mode */
2394 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2414 IN COLORREF TransColor
2417 /* FIXME some part need be done in user mode */
2418 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2431 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2432 /* status contain some form of return value that being save, what it is I do not known */
2433 /* unsue seam have zero effect, what it is for I do not known */
2435 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2446 HBITMAP in_format_BitMap
,
2451 /* FIXME guessing the prototypes */
2454 * it have create a new bitmap with desired in format,
2455 * then convert it src_bitmap to new format
2456 * and return it as HBITMAP
2471 /* FIXME some part are done in user mode */
2472 return NtGdiGetBkColor(hdc
);
2483 /* FIXME some part are done in user mode */
2484 return NtGdiGetBkMode(hdc
);
2493 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2495 /* FIXME some part are done in user mode */
2496 return NtGdiGetBrushOrgEx(hdc
,pt
);
2505 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2507 /* FIXME some part are done in user mode */
2508 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2517 GetDeviceCaps(HDC hdc
,
2520 /* FIXME some part need be done in user mode */
2521 return NtGdiGetDeviceCaps(hdc
,i
);
2531 GetCurrentPositionEx(HDC hdc
,
2534 /* FIXME some part need be done in user mode */
2535 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2547 /* FIXME some part need be done in user mode */
2548 return NtGdiGetClipBox(hdc
, lprc
);
2557 GetCharWidthFloatW(HDC hdc
,
2562 /* FIXME some part need be done in user mode */
2563 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2572 GetCharWidth32W(HDC hdc
,
2577 /* FIXME some part need be done in user mode */
2578 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2587 GetCharABCWidths(HDC hdc
,
2592 /* FIXME some part need be done in user mode */
2593 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2603 GetFontData(HDC hdc
,
2613 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);
2623 GetRegionData(HRGN hrgn
,
2625 LPRGNDATA lpRgnData
)
2632 return NtGdiGetRegionData(hrgn
,nCount
,lpRgnData
);
2642 GetRgnBox(HRGN hrgn
,
2645 /* FIXME some stuff need be done in user mode */
2646 return NtGdiGetRgnBox(hrgn
, prcOut
);
2656 OffsetRgn( HRGN hrgn
,
2660 /* FIXME some part are done in user mode */
2661 return NtGdiOffsetRgn(hrgn
,nXOffset
,nYOffset
);
2667 GetTextCharsetInfo(HDC hdc
,
2668 LPFONTSIGNATURE lpSig
,
2671 /* FIXME some part are done in user mode */
2672 return NtGdiGetTextCharsetInfo(hdc
, lpSig
, dwFlags
);
2679 IntersectClipRect(HDC hdc
,
2685 /* FIXME some part are done in user mode */
2686 return NtGdiIntersectClipRect(hdc
, nLeftRect
, nTopRect
, nRightRect
, nBottomRect
);
2691 OffsetClipRgn(HDC hdc
,
2695 /* FIXME some part are done in user mode */
2696 return NtGdiOffsetClipRgn( hdc
, nXOffset
, nYOffset
);
2702 NamedEscape(HDC hdc
,
2710 /* FIXME metadc, metadc are done most in user mode, and we do not support it
2711 * Windows 2000/XP/Vista ignore the current hdc, that are being pass and always set hdc to NULL
2712 * when it calls to NtGdiExtEscape from NamedEscape
2714 return NtGdiExtEscape(NULL
,pDriver
,wcslen(pDriver
),iEsc
,cjIn
,pjIn
,cjOut
,pjOut
);
2727 /* FIXME some part need be done in user mode */
2728 return NtGdiPatBlt( hdc
, nXLeft
, nYLeft
, nWidth
, nHeight
, dwRop
);
2733 PolyPatBlt(IN HDC hdc
,
2735 IN PPOLYPATBLT pPoly
,
2739 /* FIXME some part need be done in user mode */
2740 return NtGdiPolyPatBlt(hdc
, rop4
, pPoly
,Count
,Mode
);