mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
stubs for most gdi32 functions
svn path=/trunk/; revision=512
This commit is contained in:
parent
5c91ed98f2
commit
c9b6355479
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
3544
reactos/lib/gdi32/misc/stubs.c
Normal file
3544
reactos/lib/gdi32/misc/stubs.c
Normal file
File diff suppressed because it is too large
Load diff
649
reactos/lib/gdi32/misc/stubsa.c
Normal file
649
reactos/lib/gdi32/misc/stubsa.c
Normal file
|
@ -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 <windows.h>
|
||||
|
||||
|
||||
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 */
|
666
reactos/lib/gdi32/misc/stubsw.c
Normal file
666
reactos/lib/gdi32/misc/stubsw.c
Normal file
|
@ -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 <windows.h>
|
||||
|
||||
|
||||
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 */
|
Loading…
Reference in a new issue