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
);
1673 GetEUDCTimeStamp(VOID
)
1675 return NtGdiGetEudcTimeStampEx(NULL
,0,TRUE
);
1683 GetFontAssocStatus(HDC hdc
)
1689 retValue
= NtGdiQueryFontAssocInfo(hdc
);
1703 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1717 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1726 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
)
1729 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1738 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
)
1741 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1750 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
)
1753 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1762 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, BOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
)
1765 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1774 MirrorRgn(HWND hwnd
,HRGN hrgn
)
1777 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1786 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
)
1789 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1798 QueryFontAssocStatus(VOID
)
1801 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1810 RemoveFontMemResourceEx(
1815 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1824 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
)
1827 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1836 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
)
1839 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1848 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
)
1851 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1866 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1875 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
)
1878 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1887 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
)
1890 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1899 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
)
1902 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1911 StartFormPage(HDC hdc
)
1914 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1923 UnloadNetworkFonts(DWORD unknown
)
1926 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1934 GetTextExtentExPointI(
1945 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1954 GetTextExtentPointI(
1962 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1975 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
)
1978 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1989 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
)
1992 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2001 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
)
2004 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2013 GdiConvertMetaFilePict(HGLOBAL hMem
)
2016 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2025 GdiConvertToDevmodeW(DEVMODEA
*dm
)
2029 dmw
= HEAP_alloc(sizeof(DEVMODEW
));
2030 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)dm->f, len, dmw->f, len )
2031 #define COPYN(f) dmw->f = dm->f
2032 COPYS(dmDeviceName
, CCHDEVICENAME
);
2033 COPYN(dmSpecVersion
);
2034 COPYN(dmDriverVersion
);
2035 switch ( dm
->dmSize
)
2037 case SIZEOF_DEVMODEA_300
:
2038 dmw
->dmSize
= SIZEOF_DEVMODEW_300
;
2040 case SIZEOF_DEVMODEA_400
:
2041 dmw
->dmSize
= SIZEOF_DEVMODEW_400
;
2043 case SIZEOF_DEVMODEA_500
:
2044 default: /* FIXME what to do??? */
2045 dmw
->dmSize
= SIZEOF_DEVMODEW_500
;
2048 COPYN(dmDriverExtra
);
2050 COPYN(dmPosition
.x
);
2051 COPYN(dmPosition
.y
);
2054 COPYN(dmDefaultSource
);
2055 COPYN(dmPrintQuality
);
2058 COPYN(dmYResolution
);
2061 COPYS(dmFormName
,CCHFORMNAME
);
2063 COPYN(dmBitsPerPel
);
2065 COPYN(dmPelsHeight
);
2066 COPYN(dmDisplayFlags
); // aka dmNup
2067 COPYN(dmDisplayFrequency
);
2069 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_300
)
2070 return dmw
; // we're done with 0x300 fields
2075 COPYN(dmDitherType
);
2079 if ( dm
->dmSize
<= SIZEOF_DEVMODEA_400
)
2080 return dmw
; // we're done with 0x400 fields
2082 COPYN(dmPanningWidth
);
2083 COPYN(dmPanningHeight
);
2096 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
)
2099 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2108 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
)
2111 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2121 GdiGetSpoolFileHandle(
2122 LPWSTR pwszPrinterName
,
2123 LPDEVMODEW pDevmode
,
2127 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2136 GdiDeleteSpoolFileHandle(
2137 HANDLE SpoolFileHandle
)
2140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2150 HANDLE SpoolFileHandle
)
2153 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2163 HANDLE SpoolFileHandle
)
2166 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2176 HANDLE SpoolFileHandle
,
2178 LPDWORD pdwPageType
)
2181 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2191 HANDLE SpoolFileHandle
,
2195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2205 HANDLE SpoolFileHandle
)
2208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2218 HANDLE SpoolFileHandle
,
2220 RECT
*prectDocument
,
2225 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2235 HANDLE SpoolFileHandle
,
2236 DWORD dwOptimization
)
2239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2249 HANDLE SpoolFileHandle
)
2252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2261 GdiGetDevmodeForPage(
2262 HANDLE SpoolFileHandle
,
2268 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2278 HANDLE SpoolFileHandle
,
2282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2290 hDc
, const BITMAPINFOHEADER
*Header
,
2291 DWORD Init
, LPCVOID Bits
, const BITMAPINFO
*Data
,
2294 /* FIMXE we need do more thing in user mode */
2295 return NtGdiCreateDIBitmap(hDc
, Header
, Init
, Bits
, Data
, ColorUse
);
2303 CombineRgn(HRGN hDest
,
2308 /* FIXME some part should be done in user mode */
2309 return NtGdiCombineRgn(hDest
, hSrc1
, hSrc2
, CombineMode
);
2323 /* FIXME some part should be done in user mode */
2324 return NtGdiCreateBitmap(Width
, Height
, Planes
, BitsPixel
, (LPBYTE
) pUnsafeBits
);
2334 EngGetDriverName(HDEV hdev
)
2337 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2343 * wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
2346 EngQueryEMFInfo(HDEV hdev
,EMFINFO
*pEMFInfo
)
2349 BOOL retValue
= FALSE
;
2352 if ((!hdev
) && (!pEMFInfo
))
2354 if ((Dhpdev
= NtGdiGetDhpdev(hdev
)))
2356 /* FIXME check if it support or if it is pEMFInfo we got */
2357 /* FIXME copy the data from Dhpdev to pEMFInfo */
2381 /* FIXME some parts need be done in user mode */
2382 return NtGdiEllipse(hdc
,nLeftRect
,nTopRect
,nRightRect
,nBottomRect
);
2390 EngWideCharToMultiByte( UINT CodePage
,
2391 LPWSTR WideCharString
,
2392 INT BytesInWideCharString
,
2393 LPSTR MultiByteString
,
2394 INT BytesInMultiByteString
)
2396 return WideCharToMultiByte(
2400 (BytesInWideCharString
/sizeof(WCHAR
)), /* Bytes to (in WCHARs) */
2402 BytesInMultiByteString
,
2412 PATHOBJ_bEnum(PATHOBJ
*ppo
,PATHDATA
*ppd
)
2415 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2423 PATHOBJ_bEnumClipLines(PATHOBJ
*ppo
,ULONG cb
,CLIPLINE
*pcl
)
2426 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2434 PATHOBJ_vEnumStart(PATHOBJ
*ppo
)
2437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2444 PATHOBJ_vEnumStartClipLines(PATHOBJ
*ppo
,CLIPOBJ
*pco
,SURFOBJ
*pso
,LINEATTRS
*pla
)
2447 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2454 PATHOBJ_vGetBounds(PATHOBJ
*ppo
,PRECTFX prectfx
)
2457 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2464 STROBJ_bEnum(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2467 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2475 STROBJ_bEnumPositionsOnly(STROBJ
*pstro
,ULONG
*pc
,PGLYPHPOS
*ppgpos
)
2478 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2486 STROBJ_bGetAdvanceWidths(STROBJ
*pso
,ULONG iFirst
,ULONG c
,POINTQF
*pptqD
)
2489 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2497 STROBJ_dwGetCodePage(STROBJ
*pstro
)
2500 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2508 STROBJ_vEnumStart(STROBJ
*pstro
)
2511 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2518 XFORMOBJ_bApplyXform(XFORMOBJ
*pxo
,ULONG iMode
,ULONG cPoints
,PVOID pvIn
,PVOID pvOut
)
2521 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2529 XFORMOBJ_iGetXform(XFORMOBJ
*pxo
,XFORML
*pxform
)
2532 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2540 XLATEOBJ_cGetPalette(XLATEOBJ
*XlateObj
,
2546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2554 XLATEOBJ_hGetColorTransform(XLATEOBJ
*pxlo
)
2557 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2565 XLATEOBJ_iXlate(XLATEOBJ
*XlateObj
,
2569 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2577 XLATEOBJ_piVector(XLATEOBJ
*XlateObj
)
2579 return XlateObj
->pulXlate
;
2589 LPWSTR pwszPrinterName
,
2590 LPDEVMODEW pDevmode
,
2592 EMFPLAYPROC pfnEMFPlayFn
,
2597 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2608 GdiPlayPrivatePageEMF
2610 HANDLE SpoolFileHandle
,
2616 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2623 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
)
2626 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2635 ExcludeClipRect(IN HDC hdc
, IN INT xLeft
, IN INT yTop
, IN INT xRight
, IN INT yBottom
)
2637 /* FIXME some part need be done on user mode size */
2638 return NtGdiExcludeClipRect(hdc
, xLeft
, yTop
, xRight
, yBottom
);
2646 ExtSelectClipRgn( IN HDC hdc
, IN HRGN hrgn
, IN INT iMode
)
2648 /* FIXME some part need be done on user mode size */
2649 return NtGdiExtSelectClipRgn(hdc
,hrgn
, iMode
);
2657 FillRgn( IN HDC hdc
, IN HRGN hrgn
, IN HBRUSH hbrush
)
2659 /* FIXME some part need be done on user mode size */
2660 return NtGdiFillRgn( hdc
, hrgn
, hbrush
);
2670 IN PTRIVERTEX pVertex
,
2676 /* FIXME some part need be done in user mode */
2677 return NtGdiGradientFill(hdc
, pVertex
, nVertex
, pMesh
, nMesh
, ulMode
);
2693 /* FIXME some part need be done in user mode */
2694 return NtGdiFrameRgn(hdc
, hrgn
, hbrush
, xWidth
, yHeight
);
2713 IN COLORREF TransColor
2716 /* FIXME some part need be done in user mode */
2717 return NtGdiTransparentBlt(hdcDst
, xDst
, yDst
, cxDst
, cyDst
, hdcSrc
, xSrc
, ySrc
, cxSrc
, cySrc
, TransColor
);
2730 /* FIXME figout the protypes, the HUMPD are a STRUCT or COM object */
2731 /* status contain some form of return value that being save, what it is I do not known */
2732 /* unsue seam have zero effect, what it is for I do not known */
2734 // ? return NtGdiSetPUMPDOBJ(humpd->0x10,TRUE, humpd, ?) <- blackbox, OpenRCE info, and api hooks for anylaysing;
2745 HBITMAP in_format_BitMap
,
2750 /* FIXME guessing the prototypes */
2753 * it have create a new bitmap with desired in format,
2754 * then convert it src_bitmap to new format
2755 * and return it as HBITMAP
2770 /* FIXME some part are done in user mode */
2771 return NtGdiGetBkColor(hdc
);
2782 /* FIXME some part are done in user mode */
2783 return NtGdiGetBkMode(hdc
);
2792 GetBrushOrgEx(HDC hdc
,LPPOINT pt
)
2794 /* FIXME some part are done in user mode */
2795 return NtGdiGetBrushOrgEx(hdc
,pt
);
2804 GetCharABCWidthsFloatW(HDC hdc
,UINT FirstChar
,UINT LastChar
,LPABCFLOAT abcF
)
2806 /* FIXME some part are done in user mode */
2807 return NtGdiGetCharABCWidthsFloat(hdc
, FirstChar
, LastChar
, abcF
);
2816 GetDeviceCaps(HDC hdc
,
2819 /* FIXME some part need be done in user mode */
2820 return NtGdiGetDeviceCaps(hdc
,i
);
2830 GetCurrentPositionEx(HDC hdc
,
2833 /* FIXME some part need be done in user mode */
2834 return NtGdiGetCurrentPositionEx(hdc
, lpPoint
);
2843 GetCurrentObject(HDC hdc
,
2846 /* FIXME some part need be done in user mode */
2847 return NtGdiGetCurrentObject(hdc
, uObjectType
);
2859 /* FIXME some part need be done in user mode */
2860 return NtGdiGetClipBox(hdc
, lprc
);
2869 GetCharWidthFloatW(HDC hdc
,
2874 /* FIXME some part need be done in user mode */
2875 return NtGdiGetCharWidthFloat(hdc
, iFirstChar
, iLastChar
, pxBuffer
);
2884 GetCharWidth32W(HDC hdc
,
2889 /* FIXME some part need be done in user mode */
2890 return NtGdiGetCharWidth32(hdc
, iFirstChar
, iLastChar
, lpBuffer
);
2899 GetCharABCWidths(HDC hdc
,
2904 /* FIXME some part need be done in user mode */
2905 return NtGdiGetCharABCWidths(hdc
, uFirstChar
, uLastChar
, lpabc
);
2915 GetFontData(HDC hdc
,
2925 return NtGdiGetFontData(hdc
, dwTable
, dwOffset
, lpvBuffer
, cbData
);