From 4a7a3ecee77ffe976776fe02dd452ca3ae92fb53 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Fri, 23 Nov 2007 01:38:54 +0000 Subject: [PATCH] small fix for cGetTTFFromFOT fix the number of param, did do a pedump. on export to found out it is @28 but I need look at my private note later svn path=/trunk/; revision=30686 --- reactos/dll/win32/gdi32/gdi32.def | 2 +- reactos/dll/win32/gdi32/misc/stubs.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/gdi32/gdi32.def b/reactos/dll/win32/gdi32/gdi32.def index 2a49a4959cf..dfb14f515e9 100644 --- a/reactos/dll/win32/gdi32/gdi32.def +++ b/reactos/dll/win32/gdi32/gdi32.def @@ -620,5 +620,5 @@ XLATEOBJ_iXlate@8 XLATEOBJ_piVector@4 bInitSystemAndFontsDirectoriesW@8 bMakePathNameW@16 -cGetTTFFromFOT@4 +cGetTTFFromFOT@28 gdiPlaySpoolStream@24 diff --git a/reactos/dll/win32/gdi32/misc/stubs.c b/reactos/dll/win32/gdi32/misc/stubs.c index 1711fe90490..d82faa9b907 100644 --- a/reactos/dll/win32/gdi32/misc/stubs.c +++ b/reactos/dll/win32/gdi32/misc/stubs.c @@ -2491,9 +2491,11 @@ NamedEscape(HDC hdc, /* * @unimplemented */ + +/* FIXME wrong protypes, it is a fastcall api */ DWORD STDCALL -cGetTTFFromFOT(DWORD unknown) +cGetTTFFromFOT(DWORD x1 ,DWORD x2 ,DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7) { UNIMPLEMENTED; SetLastError(ERROR_CALL_NOT_IMPLEMENTED);