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? =============
1125 /* FIXME fix the prototype right */
1143 /* FIXME fix the prototype right */
1162 /* FIXME prototype */
1183 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1232 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1261 AddFontMemResourceEx(
1269 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1278 AddFontResourceTracking(
1284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1295 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1307 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1310 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1319 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
)
1322 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1331 EndFormPage(HDC hdc
)
1334 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1345 GdiAddGlsBounds(HDC hdc
,LPRECT prc
)
1348 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1357 GdiArtificialDecrementDriver(LPWSTR pDriverName
,BOOL unknown
)
1360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1369 GdiCleanCacheDC(HDC hdc
)
1372 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1381 GdiConvertAndCheckDC(HDC hdc
)
1384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1393 GdiConvertBitmap(HBITMAP hbm
)
1403 GdiConvertBrush(HBRUSH hbr
)
1413 GdiConvertDC(HDC hdc
)
1423 GdiConvertFont(HFONT hfont
)
1433 GdiConvertPalette(HPALETTE hpal
)
1443 GdiConvertRegion(HRGN hregion
)
1453 GdiConvertEnhMetaFile(HENHMETAFILE hmf
)
1456 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1465 GdiDeleteLocalDC(HDC hdc
)
1468 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1477 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
)
1480 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1489 GdiGetCodePage(HDC hdc
)
1492 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1501 GdiGetLocalBrush(HBRUSH hbr
)
1504 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1513 GdiGetLocalDC(HDC hdc
)
1516 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1525 GdiGetLocalFont(HFONT hfont
)
1528 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1537 GdiIsMetaFileDC(HDC hdc
)
1540 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1549 GdiIsMetaPrintDC(HDC hdc
)
1552 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1561 GdiIsPlayMetafileDC(HDC hdc
)
1564 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1573 GdiSetAttrs(HDC hdc
)
1587 GdiValidateHandle(HGDIOBJ hobj
)
1590 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1601 GdiSetServerAttr(HDC hdc
,DWORD attr
)
1603 /* it does do nothing */
1611 GetBitmapAttributes(HBITMAP hbm
)
1614 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1623 GetBrushAttributes(HBRUSH hbr
)
1626 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1644 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1662 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1671 GetFontUnicodeRanges(
1677 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1686 GetEUDCTimeStamp(VOID
)
1688 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1696 GetFontAssocStatus(HDC hdc
)
1702 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1716 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1739 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
)
1742 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1751 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
)
1754 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1763 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
)
1766 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1775 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, BOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
)
1778 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1787 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1790 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1799 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
)
1802 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1811 QueryFontAssocStatus(VOID
)
1814 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1823 RemoveFontMemResourceEx(
1828 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1837 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1840 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1849 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1852 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1861 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1864 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1879 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1888 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1891 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1900 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1903 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1912 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1915 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1924 StartFormPage(HDC hdc
)
1927 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1936 UnloadNetworkFonts(DWORD unknown
)
1939 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1947 GetTextExtentExPointI(
1958 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1967 GetTextExtentPointI(
1975 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1988 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
1991 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2002 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
2005 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2014 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
2017 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2026 GdiConvertMetaFilePict(HGLOBAL hMem
)
2029 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2038 GdiConvertToDevmodeW(DEVMODEA
*dm
)
2042 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
2043 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
2044 #define COPYN(f) dmw->f = dm->f
2045 COPYS(dmDeviceName
, CCHDEVICENAME
);
2046 COPYN(dmSpecVersion
);
2047 COPYN(dmDriverVersion
);
2048 switch ( dm
->dmSize
)
2050 case SIZEOF_DEVMODEA_300
:
2051 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
2053 case SIZEOF_DEVMODEA_400
:
2054 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
2056 case SIZEOF_DEVMODEA_500
:
2057 default: /* FIXME what to do??? */
2058 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
2061 COPYN(dmDriverExtra
);
2063 COPYN(dmPosition
.x
);
2064 COPYN(dmPosition
.y
);
2067 COPYN(dmDefaultSource
);
2068 COPYN(dmPrintQuality
);
2071 COPYN(dmYResolution
);
2074 COPYS(dmFormName
,CCHFORMNAME
);
2076 COPYN(dmBitsPerPel
);
2078 COPYN(dmPelsHeight
);
2079 COPYN(dmDisplayFlags
); // aka dmNup
2080 COPYN(dmDisplayFrequency
);
2082 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
2083 return dmw
; // we're done with 0x300 fields
2088 COPYN(dmDitherType
);
2092 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
2093 return dmw
; // we're done with 0x400 fields
2095 COPYN(dmPanningWidth
);
2096 COPYN(dmPanningHeight
);
2109 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
2112 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2121 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
2124 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2134 GdiGetSpoolFileHandle(
2135 LPWSTR pwszPrinterName
,
2136 LPDEVMODEW pDevmode
,
2140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2149 GdiDeleteSpoolFileHandle(
2150 HANDLE SpoolFileHandle
)
2153 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2163 HANDLE SpoolFileHandle
)
2166 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2176 HANDLE SpoolFileHandle
)
2179 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2189 HANDLE SpoolFileHandle
,
2191 LPDWORD pdwPageType
)
2194 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2204 HANDLE SpoolFileHandle
,
2208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2218 HANDLE SpoolFileHandle
)
2221 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2231 HANDLE SpoolFileHandle
,
2233 RECT
*prectDocument
,
2238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2248 HANDLE SpoolFileHandle
,
2249 DWORD dwOptimization
)
2252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2262 HANDLE SpoolFileHandle
)
2265 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2274 GdiGetDevmodeForPage(
2275 HANDLE SpoolFileHandle
,
2281 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2291 HANDLE SpoolFileHandle
,
2295 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2303 hDc
, const BITMAPINFOHEADER
*Header
,
2304 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2307 /* FIMXE we need do more thing in user mode */
2308 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2316 CombineRgn(HRGN hDest
,
2321 /* FIXME some part should be done in user mode */
2322 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2336 /* FIXME some part should be done in user mode */
2337 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2347 EngGetDriverName(HDEV hdev
)
2350 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2356 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2359 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2362 BOOL retValue
= FALSE
;
2365 if ((!hdev
) && (!pEMFInfo
))
2367 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2369 /* FIXME check if it support or if it is pEMFInfo we got */
2370 /* FIXME copy the data from Dhpdev to pEMFInfo */
2394 /* FIXME some parts need be done in user mode */
2395 return NtGdiEllipse(hdc
,nLeftRect
,nTopRect
,nRightRect
,nBottomRect
);
2403 EngWideCharToMultiByte( UINT CodePage
,
2404 LPWSTR WideCharString
,
2405 INT BytesInWideCharString
,
2406 LPSTR MultiByteString
,
2407 INT BytesInMultiByteString
)
2409 return WideCharToMultiByte(
2413 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2415 BytesInMultiByteString
,
2425 PATHOBJ_bEnum(PATHOBJ
*ppo
,PATHDATA
*ppd
)
2428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2436 PATHOBJ_bEnumClipLines(PATHOBJ
*ppo
,ULONG cb
,CLIPLINE
*pcl
)
2439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2447 PATHOBJ_vEnumStart(PATHOBJ
*ppo
)
2450 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2457 PATHOBJ_vEnumStartClipLines(PATHOBJ
*ppo
,CLIPOBJ
*pco
,SURFOBJ
*pso
,LINEATTRS
*pla
)
2460 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2467 PATHOBJ_vGetBounds(PATHOBJ
*ppo
,PRECTFX prectfx
)
2470 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2477 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2480 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2488 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2491 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2499 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2502 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2510 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2513 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2521 STROBJ_vEnumStart(STROBJ
*pstro
)
2524 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2531 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2534 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2542 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2545 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2553 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2559 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2567 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2570 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2578 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2582 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2590 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2592 return XlateObj
->pulXlate
;
2602 LPWSTR pwszPrinterName
,
2603 LPDEVMODEW pDevmode
,
2605 EMFPLAYPROC pfnEMFPlayFn
,
2610 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2621 GdiPlayPrivatePageEMF
2623 HANDLE SpoolFileHandle
,
2629 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2636 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2648 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2650 /* FIXME some part need be done on user mode size */
2651 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2659 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2661 /* FIXME some part need be done on user mode size */
2662 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2670 FillRgn( IN HDC hdc
, IN HRGN hrgn
, IN HBRUSH hbrush
)
2672 /* FIXME some part need be done on user mode size */
2673 return NtGdiFillRgn( hdc
, hrgn
, hbrush
);
2683 IN PTRIVERTEX pVertex
,
2689 /* FIXME some part need be done in user mode */
2690 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2706 /* FIXME some part need be done in user mode */
2707 return NtGdiFrameRgn(hdc
, hrgn
, hbrush
, xWidth
, yHeight
);
2726 IN COLORREF TransColor
2729 /* FIXME some part need be done in user mode */
2730 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2743 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2744 /* status contain some form of return value that being save, what it is I do not known */
2745 /* unsue seam have zero effect, what it is for I do not known */
2747 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2758 HBITMAP in_format_BitMap
,
2763 /* FIXME guessing the prototypes */
2766 * it have create a new bitmap with desired in format,
2767 * then convert it src_bitmap to new format
2768 * and return it as HBITMAP
2783 /* FIXME some part are done in user mode */
2784 return NtGdiGetBkColor(hdc
);
2795 /* FIXME some part are done in user mode */
2796 return NtGdiGetBkMode(hdc
);
2805 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2807 /* FIXME some part are done in user mode */
2808 return NtGdiGetBrushOrgEx(hdc
,pt
);
2817 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2819 /* FIXME some part are done in user mode */
2820 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2829 GetDeviceCaps(HDC hdc
,
2832 /* FIXME some part need be done in user mode */
2833 return NtGdiGetDeviceCaps(hdc
,i
);
2843 GetCurrentPositionEx(HDC hdc
,
2846 /* FIXME some part need be done in user mode */
2847 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2856 GetCurrentObject(HDC hdc
,
2859 /* FIXME some part need be done in user mode */
2860 return NtGdiGetCurrentObject(hdc
, uObjectType
);
2872 /* FIXME some part need be done in user mode */
2873 return NtGdiGetClipBox(hdc
, lprc
);
2882 GetCharWidthFloatW(HDC hdc
,
2887 /* FIXME some part need be done in user mode */
2888 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2897 GetCharWidth32W(HDC hdc
,
2902 /* FIXME some part need be done in user mode */
2903 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2912 GetCharABCWidths(HDC hdc
,
2917 /* FIXME some part need be done in user mode */
2918 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2928 GetFontData(HDC hdc
,
2938 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);