Author: greatlrd
Date: Sat Sep 1 02:21:35 2007
New Revision: 28725
URL:
http://svn.reactos.org/svn/reactos?rev=28725&view=rev
Log:
implement GetStringBitmapW (left todo, implement it in win32k)
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubsw.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubsw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubsw.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubsw.c Sat Sep 1 02:21:35 2007
@@ -330,15 +330,25 @@
}
/*
- * @unimplemented
+ * @implemented
*/
UINT
STDCALL
-GetStringBitmapW(HDC hdc,LPWSTR pwsz,BOOL unknown,UINT cj,BYTE *lpSB)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+GetStringBitmapW(HDC hdc,
+ LPWSTR pwsz,
+ BOOL doCall,
+ UINT cj,
+ BYTE *lpSB)
+{
+ UINT retValue = 0;
+
+ if (doCall)
+ {
+ retValue = NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj);
+ }
+
+ return retValue;
+
}