mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +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,
|
LPINT Dx,
|
||||||
LPSIZE Size);
|
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. */
|
/* Rename to NtGdiGetTextFaceW, add FALSE at the end. */
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
|
|
|
@ -155,7 +155,7 @@ GetTextExtentPointW(
|
||||||
LPSIZE lpSize
|
LPSIZE lpSize
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return NtGdiGetTextExtentPoint(hdc, lpString, cbString, lpSize);
|
return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cbString, lpSize, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2446,12 +2446,13 @@ NtGdiGetTextExtentExPoint(HDC hDC,
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
NtGdiGetTextExtentPoint(HDC hDC,
|
NtGdiGetTextExtent(HDC hdc,
|
||||||
LPCWSTR String,
|
LPWSTR lpwsz,
|
||||||
int Count,
|
INT cwc,
|
||||||
LPSIZE Size)
|
LPSIZE psize,
|
||||||
|
UINT flOpts)
|
||||||
{
|
{
|
||||||
return NtGdiGetTextExtentExPoint(hDC, String, Count, 0, NULL, NULL, Size);
|
return NtGdiGetTextExtentExPoint(hdc, lpwsz, cwc, 0, NULL, NULL, psize);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
|
|
|
@ -159,7 +159,7 @@ NtGdiGetTextCharset 1
|
||||||
NtGdiGetTextCharsetInfo 3
|
NtGdiGetTextCharsetInfo 3
|
||||||
NtGdiGetTextColor 1
|
NtGdiGetTextColor 1
|
||||||
NtGdiGetTextExtentExPoint 7
|
NtGdiGetTextExtentExPoint 7
|
||||||
NtGdiGetTextExtentPoint 4
|
NtGdiGetTextExtent 5
|
||||||
NtGdiGetTextExtentPoint32 4
|
NtGdiGetTextExtentPoint32 4
|
||||||
NtGdiGetTextFace 3
|
NtGdiGetTextFace 3
|
||||||
NtGdiGetTextMetrics 2
|
NtGdiGetTextMetrics 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue