mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
redirect GetTextCharsetInfo to win32k
implement GetTextExtentPointI svn path=/trunk/; revision=28727
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user