mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Rename NtGdiGetTextExtentPoint to NtGdiGetTextExtent and correct the declaration.
svn path=/trunk/; revision=20950
This commit is contained in:
parent
6d1c5612cc
commit
42b0618579
4 changed files with 8 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -155,7 +155,7 @@ GetTextExtentPointW(
|
|||
LPSIZE lpSize
|
||||
)
|
||||
{
|
||||
return NtGdiGetTextExtentPoint(hdc, lpString, cbString, lpSize);
|
||||
return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cbString, lpSize, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -159,7 +159,7 @@ NtGdiGetTextCharset 1
|
|||
NtGdiGetTextCharsetInfo 3
|
||||
NtGdiGetTextColor 1
|
||||
NtGdiGetTextExtentExPoint 7
|
||||
NtGdiGetTextExtentPoint 4
|
||||
NtGdiGetTextExtent 5
|
||||
NtGdiGetTextExtentPoint32 4
|
||||
NtGdiGetTextFace 3
|
||||
NtGdiGetTextMetrics 2
|
||||
|
|
Loading…
Reference in a new issue