Author: greatlrd
Date: Sat Sep 1 13:21:11 2007
New Revision: 28734
URL:
http://svn.reactos.org/svn/reactos?rev=28734&view=rev
Log:
implement GetTextFaceAliasW <- the win32k part was already implement :)
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sat Sep 1 13:21:11 2007
@@ -1549,15 +1549,24 @@
}
/*
- * @unimplemented
- */
-int
-STDCALL
-GetTextFaceAliasW(HDC hdc,int cChar,LPWSTR pszOut)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ * @implemented
+ */
+INT
+STDCALL
+GetTextFaceAliasW(HDC hdc,
+ int cChar,
+ LPWSTR pszOut)
+{
+ INT retValue = 0;
+ if ((!pszOut) || (cChar))
+ {
+ retValue = NtGdiGetTextFaceW(hdc,cChar,pszOut,TRUE);
+ }
+ else
+ {
+ SetLastError(ERROR_INVALID_PARAMETER);
+ }
+ return retValue;
}
/*