projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e038f4
)
implement GetTextFaceAliasW <- the win32k part was already implement :)
author
Magnus Olsen
<magnus@greatlord.com>
Sat, 1 Sep 2007 09:21:11 +0000
(09:21 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Sat, 1 Sep 2007 09:21:11 +0000
(09:21 +0000)
svn path=/trunk/; revision=28734
reactos/dll/win32/gdi32/misc/stubs.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/gdi32/misc/stubs.c
b/reactos/dll/win32/gdi32/misc/stubs.c
index
6981726
..
d0d38bc
100644
(file)
--- a/
reactos/dll/win32/gdi32/misc/stubs.c
+++ b/
reactos/dll/win32/gdi32/misc/stubs.c
@@
-1549,15
+1549,24
@@
GetTextExtentExPointWPri(HDC hdc,
}
/*
- * @
un
implemented
+ * @implemented
*/
-int
+INT
STDCALL
-GetTextFaceAliasW(HDC hdc,int cChar,LPWSTR pszOut)
+GetTextFaceAliasW(HDC hdc,
+ int cChar,
+ LPWSTR pszOut)
{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ INT retValue = 0;
+ if ((!pszOut) || (cChar))
+ {
+ retValue = NtGdiGetTextFaceW(hdc,cChar,pszOut,TRUE);
+ }
+ else
+ {
+ SetLastError(ERROR_INVALID_PARAMETER);
+ }
+ return retValue;
}
/*