redirect GetTextCharsetInfo to win32k

implement GetTextExtentPointI

svn path=/trunk/; revision=28727
This commit is contained in:
Magnus Olsen
2007-08-31 23:32:54 +00:00
parent d9ec9c0779
commit cb8070f587
3 changed files with 9 additions and 28 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ GetSystemPaletteUse@4
GetTextAlign@4=NtGdiGetTextAlign@4
GetTextCharacterExtra@4
GetTextCharset@4
GetTextCharsetInfo@12
GetTextCharsetInfo@12=NtGdiGetTextCharsetInfo@12
GetTextColor@4=NtGdiGetTextColor@4
GetTextExtentExPointA@28
GetTextExtentExPointI@28
+6 -10
View File
@@ -1761,20 +1761,16 @@ GetTextExtentExPointI(
}
/*
* @unimplemented
* @implemented
*/
BOOL
STDCALL
GetTextExtentPointI(
HDC hdc,
LPWORD pgiIn,
int cgi,
LPSIZE lpSize
)
GetTextExtentPointI(HDC hdc,
LPWORD pgiIn,
int cgi,
LPSIZE lpSize)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
return NtGdiGetTextExtent(hdc,pgiIn,cgi,lpSize,2);
}
+2 -17
View File
@@ -72,28 +72,13 @@ GetTextCharacterExtra(
*/
int
STDCALL
GetTextCharset(
HDC hdc
)
GetTextCharset(HDC hdc)
{
/* MSDN docs say this is equivalent */
return GetTextCharsetInfo(hdc, NULL, 0);
return NtGdiGetTextCharsetInfo(hdc,NULL,0);
}
/*
* @implemented
*/
int
STDCALL
GetTextCharsetInfo(
HDC hdc,
LPFONTSIGNATURE lpSig,
DWORD dwFlags
)
{
return NtGdiGetTextCharsetInfo(hdc, lpSig, dwFlags);
}
/*