From c9b63554793736bbaddc6b34e1bcfbf7e158b3cb Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Mon, 24 May 1999 20:04:44 +0000 Subject: [PATCH] stubs for most gdi32 functions svn path=/trunk/; revision=512 --- reactos/lib/gdi32/gdi32.def | 12 +- reactos/lib/gdi32/gdi32.rc | 2 +- reactos/lib/gdi32/makefile | 26 +- reactos/lib/gdi32/misc/stubs.c | 3544 +++++++++++++++++++++++++++++++ reactos/lib/gdi32/misc/stubsa.c | 649 ++++++ reactos/lib/gdi32/misc/stubsw.c | 666 ++++++ 6 files changed, 4886 insertions(+), 13 deletions(-) create mode 100644 reactos/lib/gdi32/misc/stubs.c create mode 100644 reactos/lib/gdi32/misc/stubsa.c create mode 100644 reactos/lib/gdi32/misc/stubsw.c diff --git a/reactos/lib/gdi32/gdi32.def b/reactos/lib/gdi32/gdi32.def index e24706b3947..5e47975857a 100644 --- a/reactos/lib/gdi32/gdi32.def +++ b/reactos/lib/gdi32/gdi32.def @@ -1,4 +1,4 @@ -; $Id: gdi32.def,v 1.1 1999/05/23 07:41:33 ea Exp $ +; $Id: gdi32.def,v 1.2 1999/05/24 20:04:44 ea Exp $ ; ; gdi32.def ; @@ -79,9 +79,8 @@ EXPORTS DeleteMetaFile = DeleteMetaFile@4 DeleteObject = DeleteObject@4 DescribePixelFormat = DescribePixelFormat@16 - DeviceCapabilitiesEx = DeviceCapabilitiesEx@24 - DeviceCapabilitiesExA = DeviceCapabilitiesExA@24 - DeviceCapabilitiesExW = DeviceCapabilitiesExW@24 + DeviceCapabilitiesExA = DeviceCapabilitiesExA@20 + DeviceCapabilitiesExW = DeviceCapabilitiesExW@20 DrawEscape = DrawEscape@16 Ellipse = Ellipse@20 EndDoc = EndDoc@4 @@ -164,14 +163,14 @@ EXPORTS GetFontLanguageInfo = GetFontLanguageInfo@4 GetFontResourceInfo = GetFontResourceInfo@16 GetFontResourceInfoW = GetFontResourceInfoW@16 - GetGlyphOutline = GetGlyphOutline@28 + GetGlyphOutline = GetGlyphOutlineA@28 GetGlyphOutlineA = GetGlyphOutlineA@28 GetGlyphOutlineW = GetGlyphOutlineW@28 GetGlyphOutlineWow = GetGlyphOutlineWow@28 GetGraphicsMode = GetGraphicsMode@4 GetICMProfileA = GetICMProfileA@12 GetICMProfileW = GetICMProfileW@12 - GetKerningPairs = GetKerningPairs@12 + GetKerningPairs = GetKerningPairsA@12 GetKerningPairsA = GetKerningPairsA@12 GetKerningPairsW = GetKerningPairsW@12 GetLogColorSpaceA = GetLogColorSpaceA@12 @@ -336,6 +335,7 @@ EXPORTS TranslateCharsetInfo = TranslateCharsetInfo@12 UnrealizeObject = UnrealizeObject@4 UpdateColors = UpdateColors@4 + UpdateICMRegKey = UpdateICMRegKeyA@16 UpdateICMRegKeyA = UpdateICMRegKeyA@16 UpdateICMRegKeyW = UpdateICMRegKeyW@16 WidenPath = WidenPath@4 diff --git a/reactos/lib/gdi32/gdi32.rc b/reactos/lib/gdi32/gdi32.rc index d7fe30c51b6..0b120990853 100644 --- a/reactos/lib/gdi32/gdi32.rc +++ b/reactos/lib/gdi32/gdi32.rc @@ -21,7 +21,7 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", RES_STR_COMPANY_NAME - VALUE "FileDescription", "GDI Client Dll\0" + VALUE "FileDescription", "GDI Client DLL\0" VALUE "FileVersion", "post 0.0.13\0" VALUE "InternalName", "gdi32\0" VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT diff --git a/reactos/lib/gdi32/makefile b/reactos/lib/gdi32/makefile index 6a014f300dc..1e7cfe97474 100644 --- a/reactos/lib/gdi32/makefile +++ b/reactos/lib/gdi32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.2 1999/05/23 07:41:33 ea Exp $ +# $Id: makefile,v 1.3 1999/05/24 20:04:44 ea Exp $ # # Makefile for ReactOS gdi32.dll # @@ -18,7 +18,7 @@ all: $(DLLTARGET) MAIN_OBJECTS = main/dllmain.o -MISC_OBJECTS = misc/stubs.o +MISC_OBJECTS = misc/stubs.o misc/stubsa.o misc/stubsw.o RESOURCE_OBJECTS = $(TARGET).coff @@ -33,11 +33,11 @@ $(TARGET).coff: $(TARGET).rc $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def $(LD) -r $(OBJECTS) -o $(TARGET).o $(DLLTOOL) \ - --dllname $(TARGET).dll + --dllname $(TARGET).dll \ --def $(TARGET).def \ --output-lib $(TARGET).a $(CC) $(TARGET).o \ - ../ntdll/ntdll.a\ + ../kernel32/kernel32.a \ -specs=$(TARGET)_specs \ -mdll \ -o junk.tmp \ @@ -50,10 +50,10 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --def $(TARGET).def - $(RM) base.tmp $(CC) $(TARGET).o \ - ../ntdll/ntdll.a \ + ../kernel32/kernel32.a \ -specs=$(TARGET)_specs \ -mdll \ - -o $(TARGET).dll + -o $(TARGET).dll \ -Wl,--image-base,0x70000000 \ -Wl,--file-alignment,0x1000 \ -Wl,--section-alignment,0x1000 \ @@ -61,6 +61,20 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def - $(RM) temp.exp $(NM) --numeric-sort $(TARGET).dll > $(TARGET).sym +ifeq ($(DOSCLI),yes) +CLEAN_FILES = *.o *.coff *.sym *.tmp *.dll main\*.o misc\*.o +else +CLEAN_FILES = *.o *.coff *.sym *.tmp *.dll main/*.o misc/*.o +endif + +clean: $(CLEAN_FILES:%=%_clean) + +$(CLEAN_FILES:%=%_clean): %_clean: + - $(RM) $* + +.PHONY: clean $(CLEAN_FILES:%=%_clean) + + include ../../rules.mak # EOF diff --git a/reactos/lib/gdi32/misc/stubs.c b/reactos/lib/gdi32/misc/stubs.c new file mode 100644 index 00000000000..3ec173ef836 --- /dev/null +++ b/reactos/lib/gdi32/misc/stubs.c @@ -0,0 +1,3544 @@ +/* $Id: stubs.c,v 1.1 1999/05/24 20:04:44 ea Exp $ + * + * reactos/lib/gdi32/misc/stubs.c + * + * GDI32.DLL Stubs + * + * When you implement one of these functions, + * remove its stub from this file. + * + */ +#ifdef UNICODE +#undef UNICODE +#endif +#include + + +BOOL +STDCALL +AnimatePalette( + HPALETTE a0, + UINT a1, + UINT a2, + CONST PALETTEENTRY *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +Arc( + HDC a0, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6, + int a7, + int a8 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +BitBlt( + HDC a0, + int a1, + int a2, + int a3, + int a4, + HDC a5, + int a6, + int a7, + DWORD a8 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +CancelDC( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +Chord( + HDC a0, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6, + int a7, + int a8 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +ChoosePixelFormat( + HDC a0, + CONST PIXELFORMATDESCRIPTOR *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HMETAFILE +STDCALL +CloseMetaFile( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +CombineRgn( + HRGN a0, + HRGN a1, + HRGN a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBITMAP +STDCALL +CreateBitmap( + int a0, + int a1, + UINT a2, + UINT a3, + CONST VOID *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBITMAP +STDCALL +CreateBitmapIndirect( + CONST BITMAP *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreateBrushIndirect( + CONST LOGBRUSH *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBITMAP +STDCALL +CreateCompatibleBitmap( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBITMAP +STDCALL +CreateDiscardableBitmap( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HDC +STDCALL +CreateCompatibleDC( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBITMAP +STDCALL +CreateDIBitmap( + HDC a0, + CONST BITMAPINFOHEADER *a1, + DWORD a2, + CONST VOID *a3, + CONST BITMAPINFO *a4, + UINT a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreateDIBPatternBrush( + HGLOBAL a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreateDIBPatternBrushPt( + CONST VOID *a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateEllipticRgn( + int a0, + int a1, + int a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateEllipticRgnIndirect( + CONST RECT *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreateHatchBrush( + int a0, + COLORREF a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HPALETTE +STDCALL +CreatePalette( + CONST LOGPALETTE *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HPEN +STDCALL +CreatePen( + int a0, + int a1, + COLORREF a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HPEN +STDCALL +CreatePenIndirect( + CONST LOGPEN *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreatePolyPolygonRgn( + CONST POINT *a0, + CONST INT *a1, + int a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreatePatternBrush( + HBITMAP a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateRectRgn( + int a0, + int a1, + int a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateRectRgnIndirect( + CONST RECT *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateRoundRectRgn( + int a0, + int a1, + int a2, + int a3, + int a4, + int a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HBRUSH +STDCALL +CreateSolidBrush( + COLORREF a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +DeleteDC( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +DeleteMetaFile( + HMETAFILE a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +DeleteObject( + HGDIOBJ a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +DescribePixelFormat( + HDC a0, + int a1, + UINT a2, + LPPIXELFORMATDESCRIPTOR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +DrawEscape( + HDC a0, + int a1, + int a2, + LPCSTR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +Ellipse( + HDC a0, + int a1, + int a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +EnumObjects( + HDC a0, + int a1, + ENUMOBJECTSPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +EqualRgn( + HRGN a0, + HRGN a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +Escape( + HDC a0, + int a1, + int a2, + LPCSTR a3, + LPVOID a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + + +int +STDCALL +ExtEscape( + HDC a0, + int a1, + int a2, + LPCSTR a3, + int a4, + LPSTR a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +ExcludeClipRect( + HDC a0, + int a1, + int a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +ExtCreateRegion( + CONST XFORM * a0, + DWORD a1, + CONST RGNDATA * a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +ExtFloodFill( + HDC a0, + int a1, + int a2, + COLORREF a3, + UINT a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FillRgn( + HDC a0, + HRGN a1, + HBRUSH a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FloodFill( + HDC a0, + int a1, + int a2, + COLORREF a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FrameRgn( + HDC a0, + HRGN a1, + HBRUSH a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +GetROP2( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetAspectRatioFilterEx( + HDC a0, + LPSIZE a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +COLORREF +STDCALL +GetBkColor( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetBkMode( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +LONG +STDCALL +GetBitmapBits( + HBITMAP a0, + LONG a1, + LPVOID a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetBitmapDimensionEx( + HBITMAP a0, + LPSIZE a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +UINT +STDCALL +GetBoundsRect( + HDC a0, + LPRECT a1, + UINT a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetBrushOrgEx( + HDC a0, + LPPOINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +GetClipBox( + HDC a0, + LPRECT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetClipRgn( + HDC a0, + HRGN a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetMetaRgn( + HDC a0, + HRGN a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HGDIOBJ +STDCALL +GetCurrentObject( + HDC a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetCurrentPositionEx( + HDC a0, + LPPOINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +GetDeviceCaps( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + + +int +STDCALL +GetDIBits( + HDC a0, + HBITMAP a1, + UINT a2, + UINT a3, + LPVOID a4, + LPBITMAPINFO a5, + UINT a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +GetFontData( + HDC a0, + DWORD a1, + DWORD a2, + LPVOID a3, + DWORD a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetGraphicsMode( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + + +int +STDCALL +GetMapMode( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetMetaFileBitsEx( + HMETAFILE a0, + UINT a1, + LPVOID a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +GetNearestColor( + HDC a0, + COLORREF a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetNearestPaletteIndex( + HPALETTE a0, + COLORREF a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +GetObjectType( + HGDIOBJ a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +UINT +STDCALL +GetPaletteEntries( + HPALETTE a0, + UINT a1, + UINT a2, + LPPALETTEENTRY a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +GetPixel( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetPixelFormat( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetPolyFillMode( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetRasterizerCaps( + LPRASTERIZER_STATUS a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +DWORD +STDCALL +GetRegionData( + HRGN a0, + DWORD a1, + LPRGNDATA a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetRgnBox( + HRGN a0, + LPRECT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HGDIOBJ +STDCALL +GetStockObject( + int a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetStretchBltMode( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetSystemPaletteEntries( + HDC a0, + UINT a1, + UINT a2, + LPPALETTEENTRY a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetSystemPaletteUse( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetTextCharacterExtra( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetTextAlign( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +GetTextColor( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +GetTextCharset( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +GetTextCharsetInfo( + HDC hdc, + LPFONTSIGNATURE lpSig, + DWORD dwFlags + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +TranslateCharsetInfo( + DWORD FAR *lpSrc, + LPCHARSETINFO lpCs, + DWORD dwFlags + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +DWORD +STDCALL +GetFontLanguageInfo( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetViewportExtEx( + HDC hDc, + LPSIZE lpSize + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetViewportOrgEx( + HDC hDc, + LPPOINT lpPoint + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetWindowExtEx( + HDC hDc, + LPSIZE lpSize + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetWindowOrgEx( + HDC hDc, + LPPOINT lpPoint + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +IntersectClipRect( + HDC hDc, + int a1, + int a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +InvertRgn( + HDC hDc, + HRGN hRgn + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +LineDDA( + int a0, + int a1, + int a2, + int a3, + LINEDDAPROC a4, + LPARAM a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +LineTo( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +MaskBlt( + HDC a0, + int a1, + int a2, + int a3, + int a4, + HDC a5, + int a6, + int a7, + HBITMAP a8, + int a9, + int a10, + DWORD a11 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PlgBlt( + HDC a0, + CONST POINT *a1, + HDC a2, + int a3, + int a4, + int a5, + int a6, + HBITMAP a7, + int a8, + int a9 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +OffsetClipRgn( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +OffsetRgn( + HRGN a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +PatBlt( + HDC a0, + int a1, + int a2, + int a3, + int a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +Pie( + HDC a0, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6, + int a7, + int a8 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PlayMetaFile( + HDC a0, + HMETAFILE a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PaintRgn( + HDC a0, + HRGN a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PolyPolygon( + HDC a0, + CONST POINT *a1, + CONST INT *a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PtInRegion( + HRGN a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PtVisible( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +RectInRegion( + HRGN a0, + CONST RECT *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +RectVisible( + HDC a0, + CONST RECT *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +Rectangle( + HDC a0, + int a1, + int a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +RestoreDC( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +UINT +STDCALL +RealizePalette( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +RoundRect( + HDC a0, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +ResizePalette( + HPALETTE a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +SaveDC( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SelectClipRgn( + HDC a0, + HRGN a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +ExtSelectClipRgn( + HDC a0, + HRGN a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetMetaRgn( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HGDIOBJ +STDCALL +SelectObject( + HDC a0, + HGDIOBJ a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HPALETTE +STDCALL +SelectPalette( + HDC a0, + HPALETTE a1, + BOOL a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +SetBkColor( + HDC a0, + COLORREF a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetBkMode( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +LONG +STDCALL +SetBitmapBits( + HBITMAP a0, + DWORD a1, + CONST VOID *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +SetBoundsRect( + HDC a0, + CONST RECT *a1, + UINT a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetDIBits( + HDC a0, + HBITMAP a1, + UINT a2, + UINT a3, + CONST VOID *a4, + CONST BITMAPINFO *a5, + UINT a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetDIBitsToDevice( + HDC a0, + int a1, + int a2, + DWORD a3, + DWORD a4, + int a5, + int a6, + UINT a7, + UINT a8, + CONST VOID *a9, + CONST BITMAPINFO *a10, + UINT a11 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +SetMapperFlags( + HDC a0, + DWORD a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetGraphicsMode( + HDC hdc, + int iMode + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetMapMode( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HMETAFILE +STDCALL +SetMetaFileBitsEx( + UINT a0, + CONST BYTE *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +SetPaletteEntries( + HPALETTE a0, + UINT a1, + UINT a2, + CONST PALETTEENTRY *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +SetPixel( + HDC a0, + int a1, + int a2, + COLORREF a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +SetPixelV( + HDC a0, + int a1, + int a2, + COLORREF a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetPixelFormat( + HDC a0, + int a1, + CONST PIXELFORMATDESCRIPTOR *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +SetPolyFillMode( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +StretchBlt( + HDC a0, + int a1, + int a2, + int a3, + int a4, + HDC a5, + int a6, + int a7, + int a8, + int a9, + DWORD a10 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetRectRgn( + HRGN a0, + int a1, + int a2, + int a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +StretchDIBits( + HDC a0, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6, + int a7, + int a8, + CONST VOID *a9, + CONST BITMAPINFO *a10, + UINT a11, + DWORD a12 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetROP2( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetStretchBltMode( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +SetSystemPaletteUse( + HDC a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetTextCharacterExtra( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +COLORREF +STDCALL +SetTextColor( + HDC a0, + COLORREF a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +SetTextAlign( + HDC a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +SetTextJustification( + HDC a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +UpdateColors( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PlayMetaFileRecord( + HDC a0, + LPHANDLETABLE a1, + LPMETARECORD a2, + UINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +EnumMetaFile( + HDC a0, + HMETAFILE a1, + ENUMMETAFILEPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HENHMETAFILE +STDCALL +CloseEnhMetaFile( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +DeleteEnhMetaFile( + HENHMETAFILE a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +EnumEnhMetaFile( + HDC a0, + HENHMETAFILE a1, + ENHMETAFILEPROC a2, + LPVOID a3, + CONST RECT *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +UINT +STDCALL +GetEnhMetaFileBits( + HENHMETAFILE a0, + UINT a1, + LPBYTE a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetEnhMetaFileHeader( + HENHMETAFILE a0, + UINT a1, + LPENHMETAHEADER a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetEnhMetaFilePaletteEntries( + HENHMETAFILE a0, + UINT a1, + LPPALETTEENTRY a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetEnhMetaFilePixelFormat( + HENHMETAFILE a0, + DWORD a1, + CONST PIXELFORMATDESCRIPTOR *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetWinMetaFileBits( + HENHMETAFILE a0, + UINT a1, + LPBYTE a2, + INT a3, + HDC a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +PlayEnhMetaFile( + HDC a0, + HENHMETAFILE a1, + CONST RECT *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PlayEnhMetaFileRecord( + HDC a0, + LPHANDLETABLE a1, + CONST ENHMETARECORD *a2, + UINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HENHMETAFILE +STDCALL +SetEnhMetaFileBits( + UINT a0, + CONST BYTE *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HENHMETAFILE +STDCALL +SetWinMetaFileBits( + UINT a0, + CONST BYTE *a1, + HDC a2, + CONST METAFILEPICT *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GdiComment( + HDC a0, + UINT a1, + CONST BYTE *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +AngleArc( + HDC hdc, + int a1, + int a2, + DWORD a3, + FLOAT a4, + FLOAT a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PolyPolyline( + HDC hdc, + CONST POINT *a1, + CONST DWORD *a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetWorldTransform( + HDC hdc, + LPXFORM a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetWorldTransform( + HDC a0, + CONST XFORM *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +ModifyWorldTransform( + HDC a0, + CONST XFORM *a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +CombineTransform( + LPXFORM a0, + CONST XFORM *a1, + CONST XFORM *a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HBITMAP +STDCALL +CreateDIBSection( + HDC hdc, + CONST BITMAPINFO *a1, + UINT a2, + VOID **a3, + HANDLE a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +GetDIBColorTable( + HDC hdc, + UINT a1, + UINT a2, + RGBQUAD *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +UINT +STDCALL +SetDIBColorTable( + HDC hdc, + UINT a1, + UINT a2, + CONST RGBQUAD *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +SetColorAdjustment( + HDC hdc, + CONST COLORADJUSTMENT *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetColorAdjustment( + HDC hdc, + LPCOLORADJUSTMENT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HPALETTE +STDCALL +CreateHalftonePalette( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +EndDoc( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +StartPage( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +EndPage( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +AbortDoc( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +int +STDCALL +SetAbortProc( + HDC hdc, + ABORTPROC a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +AbortPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +ArcTo( + HDC hdc, + int a1, + int a2, + int a3, + int a4, + int a5, + int a6, + int a7, + int a8 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +BeginPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +CloseFigure( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +EndPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FillPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FlattenPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +GetPath( + HDC hdc, + LPPOINT a1, + LPBYTE a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +PathToRegion( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +PolyDraw( + HDC hdc, + CONST POINT *a1, + CONST BYTE *a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SelectClipPath( + HDC hdc, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +SetArcDirection( + HDC hdc, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +SetMiterLimit( + HDC hdc, + FLOAT a1, + PFLOAT a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +StrokeAndFillPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +StrokePath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +WidenPath( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HPEN +STDCALL +ExtCreatePen( + DWORD a0, + DWORD a1, + CONST LOGBRUSH *a2, + DWORD a3, + CONST DWORD *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +GetMiterLimit( + HDC hdc, + PFLOAT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +int +STDCALL +GetArcDirection( + HDC hdc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +MoveToEx( + HDC hdc, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +HRGN +STDCALL +CreatePolygonRgn( + CONST POINT *a0, + int a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +DPtoLP( + HDC a0, + LPPOINT a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +LPtoDP( + HDC a0, + LPPOINT a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +Polygon( + HDC a0, + CONST POINT *a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +Polyline( + HDC a0, + CONST POINT *a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PolyBezier( + HDC a0, + CONST POINT *a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PolyBezierTo( + HDC a0, + CONST POINT *a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +PolylineTo( + HDC a0, + CONST POINT *a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetViewportExtEx( + HDC a0, + int a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetViewportOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetWindowExtEx( + HDC a0, + int a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + + +BOOL +STDCALL +SetWindowOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +OffsetViewportOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +OffsetWindowOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +ScaleViewportExtEx( + HDC a0, + int a1, + int a2, + int a3, + int a4, + LPSIZE a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +ScaleWindowExtEx( + HDC a0, + int a1, + int a2, + int a3, + int a4, + LPSIZE a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetBitmapDimensionEx( + HBITMAP a0, + int a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +SetBrushOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GetDCOrgEx( + HDC a0, + LPPOINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +FixBrushOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +UnrealizeObject( + HGDIOBJ a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +GdiFlush() +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +DWORD +STDCALL +GdiSetBatchLimit( + DWORD a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +GdiGetBatchLimit() +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +SetICMMode( + HDC a0, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +CheckColorsInGamut( + HDC a0, + LPVOID a1, + LPVOID a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +HANDLE +STDCALL +GetColorSpace( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +SetColorSpace( + HDC a0, + HCOLORSPACE a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +DeleteColorSpace( + HCOLORSPACE a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +GetDeviceGammaRamp( + HDC a0, + LPVOID a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +SetDeviceGammaRamp( + HDC a0, + LPVOID a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +ColorMatchToTarget( + HDC a0, + HDC a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +wglCopyContext( + HGLRC a0, + HGLRC a1, + UINT a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HGLRC +STDCALL +wglCreateContext( + HDC hDc + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HGLRC +STDCALL +wglCreateLayerContext( + HDC hDc, + int a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +wglDeleteContext( + HGLRC a + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +HGLRC +STDCALL +wglGetCurrentContext(VOID) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HDC +STDCALL +wglGetCurrentDC(VOID) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +PROC +STDCALL +wglGetProcAddress( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +BOOL +STDCALL +wglMakeCurrent( + HDC a0, + HGLRC a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +wglShareLists( + HGLRC a0, + HGLRC a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +SwapBuffers( + HDC a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + + +BOOL +STDCALL +wglDescribeLayerPlane( + HDC a0, + int a1, + int a2, + UINT a3, + LPLAYERPLANEDESCRIPTOR a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +wglSetLayerPaletteEntries( + HDC a0, + int a1, + int a2, + int a3, + CONST COLORREF *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +wglGetLayerPaletteEntries( + HDC a0, + int a1, + int a2, + int a3, + CONST COLORREF *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +wglRealizeLayerPalette( + HDC a0, + int a1, + BOOL a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +wglSwapLayerBuffers( + HDC a0, + UINT a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +/* === AFTER THIS POINT I GUESS... ========= + * (based on stack size in Norlander's .def) + * === WHERE ARE THEY DEFINED? ============= + */ + + +DWORD +STDCALL +GdiPlayDCScript( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GdiPlayJournal( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GdiPlayScript( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5, + DWORD a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetGlyphOutlineWow( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5, + DWORD a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetRandomRgn( + DWORD a0, + DWORD a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetRelAbs( + DWORD a0, + DWORD a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +SelectBrushLocal( + DWORD a0, + DWORD a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +DWORD +STDCALL +SelectFontLocal( + DWORD a0, + DWORD a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +SetFontEnumeration( + DWORD a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +SetRelAbs( + DWORD a0, + DWORD a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +gdiPlaySpoolStream( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3, + DWORD a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetFontResourceInfo( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +/* EOF */ diff --git a/reactos/lib/gdi32/misc/stubsa.c b/reactos/lib/gdi32/misc/stubsa.c new file mode 100644 index 00000000000..55b153289bf --- /dev/null +++ b/reactos/lib/gdi32/misc/stubsa.c @@ -0,0 +1,649 @@ +/* $Id: stubsa.c,v 1.1 1999/05/24 20:04:44 ea Exp $ + * + * reactos/lib/gdi32/misc/stubs.c + * + * GDI32.DLL Stubs for ANSI functions + * + * When you implement one of these functions, + * remove its stub from this file. + * + */ +#ifdef UNICODE +#undef UNICODE +#endif +#include + + +int +STDCALL +AddFontResourceA( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HMETAFILE +STDCALL +CopyMetaFileA( + HMETAFILE a0, + LPCSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateDCA( + LPCSTR a0, + LPCSTR a1, + LPCSTR a2, + CONST DEVMODE *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HFONT +STDCALL +CreateFontIndirectA( + CONST LOGFONT *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HFONT +STDCALL +CreateFontA( + int a0, + int a1, + int a2, + int a3, + int a4, + DWORD a5, + DWORD a6, + DWORD a7, + DWORD a8, + DWORD a9, + DWORD a10, + DWORD a11, + DWORD a12, + LPCSTR a13 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateICA( + LPCSTR a0, + LPCSTR a1, + LPCSTR a2, + CONST DEVMODE * a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateMetaFileA( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +CreateScalableFontResourceA( + DWORD a0, + LPCSTR a1, + LPCSTR a2, + LPCSTR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +DeviceCapabilitiesExA( + LPCSTR a0, + LPCSTR a1, + WORD a2, + LPSTR a3, + CONST DEVMODE *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontFamiliesExA( + HDC a0, + LPLOGFONT a1, + FONTENUMEXPROC a2, + LPARAM a3, + DWORD a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontFamiliesA( + HDC a0, + LPCSTR a1, + FONTENUMPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontsA( + HDC a0, + LPCSTR a1, + ENUMFONTSPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetCharWidthA( + HDC a0, + UINT a1, + UINT a2, + LPINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +GetCharWidth32A( + HDC a0, + UINT a1, + UINT a2, + LPINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharWidthFloatA( + HDC a0, + UINT a1, + UINT a2, + PFLOAT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharABCWidthsA( + HDC a0, + UINT a1, + UINT a2, + LPABC a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharABCWidthsFloatA( + HDC a0, + UINT a1, + UINT a2, + LPABCFLOAT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +DWORD +STDCALL +GetGlyphOutlineA( + HDC a0, + UINT a1, + UINT a2, + LPGLYPHMETRICS a3, + DWORD a4, + LPVOID a5, + CONST MAT2 *a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HMETAFILE +STDCALL +GetMetaFileA( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +UINT +APIENTRY +GetOutlineTextMetricsA( + HDC a0, + UINT a1, + LPOUTLINETEXTMETRIC a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +APIENTRY +GetTextExtentPointA( + HDC hDc, + LPCSTR a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetTextExtentPoint32A( + HDC hDc, + LPCSTR a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetTextExtentExPointA( + HDC hDc, + LPCSTR a1, + int a2, + int a3, + LPINT a4, + LPINT a5, + LPSIZE a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +DWORD +STDCALL +GetCharacterPlacementA( + HDC hDc, + LPCSTR a1, + int a2, + int a3, + LPGCP_RESULTS a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +ResetDCA( + HDC a0, + CONST DEVMODE *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +RemoveFontResourceA( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +HENHMETAFILE +STDCALL +CopyEnhMetaFileA( + HENHMETAFILE a0, + LPCSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateEnhMetaFileA( + HDC a0, + LPCSTR a1, + CONST RECT *a2, + LPCSTR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HENHMETAFILE +STDCALL +GetEnhMetaFileA( + LPCSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +UINT +STDCALL +GetEnhMetaFileDescriptionA( + HENHMETAFILE a0, + UINT a1, + LPSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetTextMetricsA( + HDC hdc, + LPTEXTMETRIC a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +StartDocA( + HDC hdc, + CONST DOCINFO *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +GetObjectA( + HGDIOBJ a0, + int a1, + LPVOID a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +TextOutA( + HDC hdc, + int a1, + int a2, + LPCSTR a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +ExtTextOutA( + HDC hdc, + int a1, + int a2, + UINT a3, + CONST RECT *a4, + LPCSTR a5, + UINT a6, + CONST INT *a7 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +PolyTextOutA( + HDC hdc, + CONST POLYTEXT *a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +GetTextFaceA( + HDC a0, + int a1, + LPSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +DWORD +STDCALL +GetKerningPairsA( + HDC a0, + DWORD a1, + LPKERNINGPAIR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetLogColorSpaceA( + HCOLORSPACE a0, + LPLOGCOLORSPACE a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +HCOLORSPACE +STDCALL +CreateColorSpaceA( + LPLOGCOLORSPACE a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +WINBOOL +STDCALL +GetICMProfileA( + HDC a0, + DWORD a1, /* MS says LPDWORD! */ + LPSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +SetICMProfileA( + HDC a0, + LPSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +EnumICMProfilesA( + HDC a0, + ICMENUMPROC a1, + LPARAM a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +wglUseFontBitmapsA( + HDC a0, + DWORD a1, + DWORD a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +wglUseFontOutlinesA( + HDC a0, + DWORD a1, + DWORD a2, + DWORD a3, + FLOAT a4, + FLOAT a5, + int a6, + LPGLYPHMETRICSFLOAT a7 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +WINBOOL +STDCALL +UpdateICMRegKeyA( + DWORD a0, + DWORD a1, + LPSTR a2, + UINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +/* EOF */ diff --git a/reactos/lib/gdi32/misc/stubsw.c b/reactos/lib/gdi32/misc/stubsw.c new file mode 100644 index 00000000000..b080482150f --- /dev/null +++ b/reactos/lib/gdi32/misc/stubsw.c @@ -0,0 +1,666 @@ +/* $Id: stubsw.c,v 1.1 1999/05/24 20:04:44 ea Exp $ + * + * reactos/lib/gdi32/misc/stubs.c + * + * GDI32.DLL Stubs for Unicode functions + * + * When you implement one of these functions, + * remove its stub from this file. + * + */ +#define UNICODE +#include + + +int +STDCALL +AddFontResourceW( + LPCWSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HMETAFILE +STDCALL +CopyMetaFileW( + HMETAFILE a0, + LPCWSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateDCW( + LPCWSTR a0, + LPCWSTR a1, + LPCWSTR a2, + CONST DEVMODE *a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HFONT +STDCALL +CreateFontIndirectW( + CONST LOGFONT *a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HFONT +STDCALL +CreateFontW( + int a0, + int a1, + int a2, + int a3, + int a4, + DWORD a5, + DWORD a6, + DWORD a7, + DWORD a8, + DWORD a9, + DWORD a10, + DWORD a11, + DWORD a12, + LPCWSTR a13 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateICW( + LPCWSTR a0, + LPCWSTR a1, + LPCWSTR a2, + CONST DEVMODE * a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateMetaFileW( + LPCWSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +CreateScalableFontResourceW( + DWORD a0, + LPCWSTR a1, + LPCWSTR a2, + LPCWSTR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +DeviceCapabilitiesExW( + LPCWSTR a0, + LPCWSTR a1, + WORD a2, + LPWSTR a3, + CONST DEVMODE *a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontFamiliesExW( + HDC a0, + LPLOGFONT a1, + FONTENUMEXPROC a2, + LPARAM a3, + DWORD a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontFamiliesW( + HDC a0, + LPCWSTR a1, + FONTENUMPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +EnumFontsW( + HDC a0, + LPCWSTR a1, + ENUMFONTSPROC a2, + LPARAM a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetCharWidthW( + HDC a0, + UINT a1, + UINT a2, + LPINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +GetCharWidth32W( + HDC a0, + UINT a1, + UINT a2, + LPINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharWidthFloatW( + HDC a0, + UINT a1, + UINT a2, + PFLOAT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharABCWidthsW( + HDC a0, + UINT a1, + UINT a2, + LPABC a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetCharABCWidthsFloatW( + HDC a0, + UINT a1, + UINT a2, + LPABCFLOAT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +DWORD +STDCALL +GetGlyphOutlineW( + HDC a0, + UINT a1, + UINT a2, + LPGLYPHMETRICS a3, + DWORD a4, + LPVOID a5, + CONST MAT2 *a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HMETAFILE +STDCALL +GetMetaFileW( + LPCWSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +UINT +APIENTRY +GetOutlineTextMetricsW( + HDC a0, + UINT a1, + LPOUTLINETEXTMETRIC a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +APIENTRY +GetTextExtentPointW( + HDC hDc, + LPCWSTR a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetTextExtentPoint32W( + HDC hDc, + LPCWSTR a1, + int a2, + LPSIZE a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +APIENTRY +GetTextExtentExPointW( + HDC hDc, + LPCWSTR a1, + int a2, + int a3, + LPINT a4, + LPINT a5, + LPSIZE a6 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +DWORD +STDCALL +GetCharacterPlacementW( + HDC hDc, + LPCWSTR a1, + int a2, + int a3, + LPGCP_RESULTS a4, + DWORD a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +ResetDCW( + HDC a0, + CONST DEVMODE *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +RemoveFontResourceW( + LPCWSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +HENHMETAFILE +STDCALL +CopyEnhMetaFileW( + HENHMETAFILE a0, + LPCWSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HDC +STDCALL +CreateEnhMetaFileW( + HDC a0, + LPCWSTR a1, + CONST RECT *a2, + LPCWSTR a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +HENHMETAFILE +STDCALL +GetEnhMetaFileW( + LPCWSTR a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +UINT +STDCALL +GetEnhMetaFileDescriptionW( + HENHMETAFILE a0, + UINT a1, + LPWSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetTextMetricsW( + HDC hdc, + LPTEXTMETRIC a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +StartDocW( + HDC hdc, + CONST DOCINFO *a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +GetObjectW( + HGDIOBJ a0, + int a1, + LPVOID a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +TextOutW( + HDC hdc, + int a1, + int a2, + LPCWSTR a3, + int a4 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +ExtTextOutW( + HDC hdc, + int a1, + int a2, + UINT a3, + CONST RECT *a4, + LPCWSTR a5, + UINT a6, + CONST INT *a7 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +PolyTextOutW( + HDC hdc, + CONST POLYTEXT *a1, + int a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +GetTextFaceW( + HDC a0, + int a1, + LPWSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetKerningPairsW( + HDC a0, + DWORD a1, + LPKERNINGPAIR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +GetLogColorSpaceW( + HCOLORSPACE a0, + LPLOGCOLORSPACE a1, + DWORD a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +HCOLORSPACE +STDCALL +CreateColorSpaceW( + LPLOGCOLORSPACE a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +WINBOOL +STDCALL +GetICMProfileW( + HDC a0, + DWORD a1, /* MS says LPDWORD! */ + LPWSTR a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +SetICMProfileW( + HDC a0, + LPWSTR a1 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +int +STDCALL +EnumICMProfilesW( + HDC a0, + ICMENUMPROC a1, + LPARAM a2 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +BOOL +STDCALL +wglUseFontBitmapsW( + HDC a0, + DWORD a1, + DWORD a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +BOOL +STDCALL +wglUseFontOutlinesW( + HDC a0, + DWORD a1, + DWORD a2, + DWORD a3, + FLOAT a4, + FLOAT a5, + int a6, + LPGLYPHMETRICSFLOAT a7 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +WINBOOL +STDCALL +UpdateICMRegKeyW( + DWORD a0, + DWORD a1, + LPWSTR a2, + UINT a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +/* === AFTER THIS POINT I GUESS... ========= + * (based on stack size in Norlander's .def) + * === WHERE ARE THEY DEFINED? ============= + */ + + +DWORD +STDCALL +GetFontResourceInfoW( + DWORD a0, + DWORD a1, + DWORD a2, + DWORD a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +/* EOF */