From abe208bcc57f8c956130af2c8f2381c71ea451e6 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Fri, 31 Aug 2007 22:21:35 +0000 Subject: [PATCH] implement GetStringBitmapW (left todo, implement it in win32k) svn path=/trunk/; revision=28725 --- reactos/dll/win32/gdi32/misc/stubsw.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/reactos/dll/win32/gdi32/misc/stubsw.c b/reactos/dll/win32/gdi32/misc/stubsw.c index fff11b1f00a..bf65d241a04 100644 --- a/reactos/dll/win32/gdi32/misc/stubsw.c +++ b/reactos/dll/win32/gdi32/misc/stubsw.c @@ -330,15 +330,25 @@ GetGlyphIndicesW( } /* - * @unimplemented + * @implemented */ UINT STDCALL -GetStringBitmapW(HDC hdc,LPWSTR pwsz,BOOL unknown,UINT cj,BYTE *lpSB) +GetStringBitmapW(HDC hdc, + LPWSTR pwsz, + BOOL doCall, + UINT cj, + BYTE *lpSB) { - UNIMPLEMENTED; - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; + UINT retValue = 0; + + if (doCall) + { + retValue = NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj); + } + + return retValue; + }