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
);
128 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
145 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
156 LPRASTERIZER_STATUS a0
,
161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
170 GetSystemPaletteUse(HDC hDc
)
172 return NtGdiGetSystemPaletteUse(hDc
);
186 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
202 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
218 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
308 SetTextJustification(
315 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
330 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
348 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
366 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
403 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
420 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
430 GetEnhMetaFileHeader(
437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
447 GetEnhMetaFilePaletteEntries(
454 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
473 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
490 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
500 PlayEnhMetaFileRecord(
503 CONST ENHMETARECORD
*a2
,
508 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
524 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
538 CONST METAFILEPICT
*a3
)
541 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
558 if (GDI_HANDLE_GET_TYPE(hDC
) == GDI_OBJECT_TYPE_EMF
)
560 PLDC pLDC
= GdiGetLDC(hDC
);
563 SetLastError(ERROR_INVALID_HANDLE
);
566 if (pLDC
->iType
== LDC_EMFLDC
)
568 return EMFDRV_GdiComment( hDC
, bytes
, buffer
);
591 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
603 CONST COLORADJUSTMENT
*a1
607 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
);
686 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
706 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
740 return NtGdiUnrealizeObject(a0
);
767 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
785 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
800 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
816 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
825 GetDeviceGammaRamp( HDC hdc
,
828 BOOL retValue
= FALSE
;
829 if (lpGammaRamp
== NULL
)
831 SetLastError(ERROR_INVALID_PARAMETER
);
835 retValue
= NtGdiGetDeviceGammaRamp(hdc
,lpGammaRamp
);
857 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
874 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
891 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
906 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
916 wglCreateLayerContext(
922 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
937 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
947 wglGetCurrentContext(VOID
)
950 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
960 wglGetCurrentDC(VOID
)
963 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
978 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
994 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1010 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1020 wglDescribeLayerPlane(
1025 LPLAYERPLANEDESCRIPTOR a4
1029 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1039 wglSetLayerPaletteEntries(
1048 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1058 wglGetLayerPaletteEntries(
1067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1077 wglRealizeLayerPalette(
1084 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1094 wglSwapLayerBuffers(
1100 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1105 /* === AFTER THIS POINT I GUESS... =========
1106 * (based on stack size in Norlander's .def)
1107 * === WHERE ARE THEY DEFINED? =============
1136 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1185 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1205 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1214 AddFontMemResourceEx(
1222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1231 AddFontResourceTracking(
1237 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1248 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1251 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1260 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1263 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1272 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1275 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1284 EndFormPage(HDC hdc
)
1287 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1298 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1301 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1310 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1313 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1322 GdiCleanCacheDC(HDC hdc
)
1325 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1334 GdiConvertAndCheckDC(HDC hdc
)
1337 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1346 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1349 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1358 GdiDeleteLocalDC(HDC hdc
)
1361 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1370 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1382 GdiGetCodePage(HDC hdc
)
1385 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1394 GdiGetLocalBrush(HBRUSH hbr
)
1397 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1406 GdiGetLocalDC(HDC hdc
)
1409 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1418 GdiGetLocalFont(HFONT hfont
)
1421 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1430 GdiIsMetaFileDC(HDC hdc
)
1433 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1442 GdiIsMetaPrintDC(HDC hdc
)
1445 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1454 GdiIsPlayMetafileDC(HDC hdc
)
1457 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1466 GdiValidateHandle(HGDIOBJ hobj
)
1469 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1478 GetBitmapAttributes(HBITMAP hbm
)
1481 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1490 GetBrushAttributes(HBRUSH hbr
)
1493 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1511 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1529 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1540 GetEUDCTimeStamp(VOID
)
1542 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1550 GetFontAssocStatus(HDC hdc
)
1556 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1570 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1584 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1593 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
)
1596 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1605 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
)
1608 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1617 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
)
1620 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1629 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, BOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
)
1632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1641 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1644 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1653 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
)
1656 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1665 QueryFontAssocStatus(VOID
)
1668 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1677 RemoveFontMemResourceEx(
1682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1691 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1694 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1703 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1706 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1715 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1718 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1733 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1742 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1745 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1754 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1757 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1766 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1769 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1778 StartFormPage(HDC hdc
)
1781 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1790 UnloadNetworkFonts(DWORD unknown
)
1793 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1801 GetTextExtentExPointI(
1812 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1821 GetTextExtentPointI(
1829 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1842 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
1845 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1856 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
1859 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1868 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
1871 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1880 GdiConvertMetaFilePict(HGLOBAL hMem
)
1883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1892 GdiConvertToDevmodeW(DEVMODEA
*dm
)
1896 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
1897 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
1898 #define COPYN(f) dmw->f = dm->f
1899 COPYS(dmDeviceName
, CCHDEVICENAME
);
1900 COPYN(dmSpecVersion
);
1901 COPYN(dmDriverVersion
);
1902 switch ( dm
->dmSize
)
1904 case SIZEOF_DEVMODEA_300
:
1905 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
1907 case SIZEOF_DEVMODEA_400
:
1908 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
1910 case SIZEOF_DEVMODEA_500
:
1911 default: /* FIXME what to do??? */
1912 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
1915 COPYN(dmDriverExtra
);
1917 COPYN(dmPosition
.x
);
1918 COPYN(dmPosition
.y
);
1921 COPYN(dmDefaultSource
);
1922 COPYN(dmPrintQuality
);
1925 COPYN(dmYResolution
);
1928 COPYS(dmFormName
,CCHFORMNAME
);
1930 COPYN(dmBitsPerPel
);
1932 COPYN(dmPelsHeight
);
1933 COPYN(dmDisplayFlags
); // aka dmNup
1934 COPYN(dmDisplayFrequency
);
1936 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
1937 return dmw
; // we're done with 0x300 fields
1942 COPYN(dmDitherType
);
1946 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
1947 return dmw
; // we're done with 0x400 fields
1949 COPYN(dmPanningWidth
);
1950 COPYN(dmPanningHeight
);
1963 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
1966 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1975 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
1978 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1988 GdiGetSpoolFileHandle(
1989 LPWSTR pwszPrinterName
,
1990 LPDEVMODEW pDevmode
,
1994 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2003 GdiDeleteSpoolFileHandle(
2004 HANDLE SpoolFileHandle
)
2007 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2017 HANDLE SpoolFileHandle
)
2020 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2030 HANDLE SpoolFileHandle
)
2033 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2043 HANDLE SpoolFileHandle
,
2045 LPDWORD pdwPageType
)
2048 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2058 HANDLE SpoolFileHandle
,
2062 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2072 HANDLE SpoolFileHandle
)
2075 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2085 HANDLE SpoolFileHandle
,
2087 RECT
*prectDocument
,
2092 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2102 HANDLE SpoolFileHandle
,
2103 DWORD dwOptimization
)
2106 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2116 HANDLE SpoolFileHandle
)
2119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2128 GdiGetDevmodeForPage(
2129 HANDLE SpoolFileHandle
,
2135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2145 HANDLE SpoolFileHandle
,
2149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2157 hDc
, const BITMAPINFOHEADER
*Header
,
2158 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2161 /* FIMXE we need do more thing in user mode */
2162 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2170 CombineRgn(HRGN hDest
,
2175 /* FIXME some part should be done in user mode */
2176 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2190 /* FIXME some part should be done in user mode */
2191 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2201 EngGetDriverName(HDEV hdev
)
2204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2210 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2213 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2216 BOOL retValue
= FALSE
;
2219 if ((!hdev
) && (!pEMFInfo
))
2221 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2223 /* FIXME check if it support or if it is pEMFInfo we got */
2224 /* FIXME copy the data from Dhpdev to pEMFInfo */
2248 /* FIXME some parts need be done in user mode */
2249 return NtGdiEllipse(hdc
,nLeftRect
,nTopRect
,nRightRect
,nBottomRect
);
2257 EngWideCharToMultiByte( UINT CodePage
,
2258 LPWSTR WideCharString
,
2259 INT BytesInWideCharString
,
2260 LPSTR MultiByteString
,
2261 INT BytesInMultiByteString
)
2263 return WideCharToMultiByte(
2267 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2269 BytesInMultiByteString
,
2279 PATHOBJ_bEnum(PATHOBJ
*ppo
,PATHDATA
*ppd
)
2282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2290 PATHOBJ_bEnumClipLines(PATHOBJ
*ppo
,ULONG cb
,CLIPLINE
*pcl
)
2293 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2301 PATHOBJ_vEnumStart(PATHOBJ
*ppo
)
2304 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2311 PATHOBJ_vEnumStartClipLines(PATHOBJ
*ppo
,CLIPOBJ
*pco
,SURFOBJ
*pso
,LINEATTRS
*pla
)
2314 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2321 PATHOBJ_vGetBounds(PATHOBJ
*ppo
,PRECTFX prectfx
)
2324 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2331 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2334 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2342 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2345 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2353 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2356 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2364 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2367 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2375 STROBJ_vEnumStart(STROBJ
*pstro
)
2378 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2385 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2388 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2396 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2399 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2407 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2413 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2421 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2424 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2432 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2436 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2444 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2446 return XlateObj
->pulXlate
;
2456 LPWSTR pwszPrinterName
,
2457 LPDEVMODEW pDevmode
,
2459 EMFPLAYPROC pfnEMFPlayFn
,
2464 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2475 GdiPlayPrivatePageEMF
2477 HANDLE SpoolFileHandle
,
2483 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2490 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2493 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2502 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2504 /* FIXME some part need be done on user mode size */
2505 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2513 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2515 /* FIXME some part need be done on user mode size */
2516 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2524 FillRgn( IN HDC hdc
, IN HRGN hrgn
, IN HBRUSH hbrush
)
2526 /* FIXME some part need be done on user mode size */
2527 return NtGdiFillRgn( hdc
, hrgn
, hbrush
);
2537 IN PTRIVERTEX pVertex
,
2543 /* FIXME some part need be done in user mode */
2544 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2560 /* FIXME some part need be done in user mode */
2561 return NtGdiFrameRgn(hdc
, hrgn
, hbrush
, xWidth
, yHeight
);
2580 IN COLORREF TransColor
2583 /* FIXME some part need be done in user mode */
2584 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2597 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2598 /* status contain some form of return value that being save, what it is I do not known */
2599 /* unsue seam have zero effect, what it is for I do not known */
2601 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2612 HBITMAP in_format_BitMap
,
2617 /* FIXME guessing the prototypes */
2620 * it have create a new bitmap with desired in format,
2621 * then convert it src_bitmap to new format
2622 * and return it as HBITMAP
2637 /* FIXME some part are done in user mode */
2638 return NtGdiGetBkColor(hdc
);
2649 /* FIXME some part are done in user mode */
2650 return NtGdiGetBkMode(hdc
);
2659 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2661 /* FIXME some part are done in user mode */
2662 return NtGdiGetBrushOrgEx(hdc
,pt
);
2671 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2673 /* FIXME some part are done in user mode */
2674 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2683 GetDeviceCaps(HDC hdc
,
2686 /* FIXME some part need be done in user mode */
2687 return NtGdiGetDeviceCaps(hdc
,i
);
2697 GetCurrentPositionEx(HDC hdc
,
2700 /* FIXME some part need be done in user mode */
2701 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2710 GetCurrentObject(HDC hdc
,
2713 /* FIXME some part need be done in user mode */
2714 return NtGdiGetCurrentObject(hdc
, uObjectType
);
2726 /* FIXME some part need be done in user mode */
2727 return NtGdiGetClipBox(hdc
, lprc
);
2736 GetCharWidthFloatW(HDC hdc
,
2741 /* FIXME some part need be done in user mode */
2742 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2751 GetCharWidth32W(HDC hdc
,
2756 /* FIXME some part need be done in user mode */
2757 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2766 GetCharABCWidths(HDC hdc
,
2771 /* FIXME some part need be done in user mode */
2772 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2782 GetFontData(HDC hdc
,
2792 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);