Rename NtGdiGetTextExtentPoint to NtGdiGetTextExtent and correct the declaration.

svn path=/trunk/; revision=20950
This commit is contained in:
Brandon Turner 2006-01-20 01:54:56 +00:00
parent 6d1c5612cc
commit 42b0618579
4 changed files with 8 additions and 15 deletions

View file

@ -714,14 +714,6 @@ NtGdiGetTextExtentExPoint(HDC hDC,
LPINT Dx,
LPSIZE Size);
/* Rename to NtGdiGetTextExtent. Add 0 at the end. */
BOOL
STDCALL
NtGdiGetTextExtentPoint(HDC hDC,
LPCWSTR String,
int Count,
LPSIZE Size);
/* Rename to NtGdiGetTextFaceW, add FALSE at the end. */
int
STDCALL

View file

@ -155,7 +155,7 @@ GetTextExtentPointW(
LPSIZE lpSize
)
{
return NtGdiGetTextExtentPoint(hdc, lpString, cbString, lpSize);
return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cbString, lpSize, 0);
}

View file

@ -2446,12 +2446,13 @@ NtGdiGetTextExtentExPoint(HDC hDC,
BOOL
STDCALL
NtGdiGetTextExtentPoint(HDC hDC,
LPCWSTR String,
int Count,
LPSIZE Size)
NtGdiGetTextExtent(HDC hdc,
LPWSTR lpwsz,
INT cwc,
LPSIZE psize,
UINT flOpts)
{
return NtGdiGetTextExtentExPoint(hDC, String, Count, 0, NULL, NULL, Size);
return NtGdiGetTextExtentExPoint(hdc, lpwsz, cwc, 0, NULL, NULL, psize);
}
BOOL

View file

@ -159,7 +159,7 @@ NtGdiGetTextCharset 1
NtGdiGetTextCharsetInfo 3
NtGdiGetTextColor 1
NtGdiGetTextExtentExPoint 7
NtGdiGetTextExtentPoint 4
NtGdiGetTextExtent 5
NtGdiGetTextExtentPoint32 4
NtGdiGetTextFace 3
NtGdiGetTextMetrics 2