mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
Removed NtGdiExtTextOut/PolyTextOut. Update related files.
svn path=/trunk/; revision=31619
This commit is contained in:
parent
0eadf4a00c
commit
4197bbe411
7 changed files with 17 additions and 68 deletions
|
@ -43,7 +43,7 @@ TextOutW(
|
|||
LPCWSTR lpString,
|
||||
int cbString)
|
||||
{
|
||||
return NtGdiExtTextOut(hdc, nXStart, nYStart, 0, NULL, lpString, cbString, NULL);
|
||||
return NtGdiExtTextOutW(hdc, nXStart, nYStart, 0, NULL, (LPWSTR)lpString, cbString, NULL, 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -350,7 +350,7 @@ ExtTextOutW(
|
|||
CONST INT *lpDx
|
||||
)
|
||||
{
|
||||
return NtGdiExtTextOut(hdc, X, Y, fuOptions, lprc, lpString, cbCount, lpDx);
|
||||
return NtGdiExtTextOutW(hdc, X, Y, fuOptions, (LPRECT)lprc, (LPWSTR)lpString, cbCount, (LPINT)lpDx, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -108,18 +108,6 @@ NtGdiEnumFonts(HDC hDC,
|
|||
FONTENUMPROCW FontFunc,
|
||||
LPARAM lParam);
|
||||
|
||||
/* Use NtGdiExtTextOutW with 0, 0 at the end. */
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiExtTextOut(HDC hdc,
|
||||
int X,
|
||||
int Y,
|
||||
UINT fuOptions,
|
||||
CONST RECT *lprc,
|
||||
LPCWSTR lpString,
|
||||
UINT cbCount,
|
||||
CONST INT *lpDx);
|
||||
|
||||
/* Should be done in user-mode. */
|
||||
BOOL
|
||||
STDCALL
|
||||
|
@ -163,13 +151,6 @@ NtGdiOffsetWindowOrgEx (
|
|||
LPPOINT Point
|
||||
);
|
||||
|
||||
/* Use NtGdiPolyTextOutW with 0 at the end. */
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiPolyTextOut(HDC hDC,
|
||||
CONST LPPOLYTEXTW txt,
|
||||
int Count);
|
||||
|
||||
/* Should be done in user-mode. */
|
||||
BOOL
|
||||
STDCALL
|
||||
|
|
|
@ -1509,7 +1509,7 @@ NtUserPaintDesktop(HDC hDC)
|
|||
align_old = NtGdiSetTextAlign(hDC, TA_RIGHT);
|
||||
mode_old = NtGdiSetBkMode(hDC, TRANSPARENT);
|
||||
|
||||
NtGdiExtTextOut(hDC, rect.right-16, rect.bottom-48, 0, NULL, s_wszVersion, len, NULL);
|
||||
NtGdiExtTextOutW(hDC, rect.right-16, rect.bottom-48, 0, NULL, s_wszVersion, len, NULL, 0);
|
||||
|
||||
NtGdiSetBkMode(hDC, mode_old);
|
||||
NtGdiSetTextAlign(hDC, align_old);
|
||||
|
|
|
@ -1609,9 +1609,9 @@ UserDrawCaptionText(HDC hDc,
|
|||
|
||||
//FIXME: If string doesn't fit to rc, truncate it and add ellipsis.
|
||||
|
||||
NtGdiExtTextOut(hDc, lpRc->left,
|
||||
NtGdiExtTextOutW(hDc, lpRc->left,
|
||||
lpRc->top, 0, NULL, Text->Buffer,
|
||||
Text->Length/sizeof(WCHAR), NULL);
|
||||
Text->Length/sizeof(WCHAR), NULL, 0);
|
||||
|
||||
NtGdiSetTextColor(hDc, OldTextColor);
|
||||
NtGdiSelectFont(hDc, hOldFont);
|
||||
|
|
|
@ -1523,16 +1523,18 @@ NtGdiGlyphCacheSet(
|
|||
return GlyphCopy;
|
||||
}
|
||||
|
||||
BOOL STDCALL
|
||||
NtGdiExtTextOut(
|
||||
HDC hDC,
|
||||
INT XStart,
|
||||
INT YStart,
|
||||
UINT fuOptions,
|
||||
CONST RECT *lprc,
|
||||
LPCWSTR UnsafeString,
|
||||
UINT Count,
|
||||
CONST INT *UnsafeDx)
|
||||
BOOL
|
||||
APIENTRY
|
||||
NtGdiExtTextOutW(
|
||||
IN HDC hDC,
|
||||
IN INT XStart,
|
||||
IN INT YStart,
|
||||
IN UINT fuOptions,
|
||||
IN OPTIONAL LPRECT lprc,
|
||||
IN LPWSTR UnsafeString,
|
||||
IN INT Count,
|
||||
IN OPTIONAL LPINT UnsafeDx,
|
||||
IN DWORD dwCodePage)
|
||||
{
|
||||
/*
|
||||
* FIXME:
|
||||
|
@ -3998,16 +4000,6 @@ NtGdiGetTextMetricsW(
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiPolyTextOut(HDC hDC,
|
||||
CONST LPPOLYTEXTW txt,
|
||||
int Count)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiRemoveFontResource(LPCWSTR FileName)
|
||||
|
|
|
@ -2023,28 +2023,6 @@ NtGdiEudcLoadUnloadLink(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
APIENTRY
|
||||
NtGdiExtTextOutW(
|
||||
IN HDC hdc,
|
||||
IN INT x,
|
||||
IN INT y,
|
||||
IN UINT flOpts,
|
||||
IN OPTIONAL LPRECT prcl,
|
||||
IN LPWSTR pwsz,
|
||||
IN INT cwc,
|
||||
IN OPTIONAL LPINT pdx,
|
||||
IN DWORD dwCodePage)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
|
|
@ -721,14 +721,12 @@ NtGdiAddFontResource 2
|
|||
NtGdiCreateDIBitmap 6
|
||||
NtGdiCreateScalableFontResource 4
|
||||
NtGdiEnumFonts 4
|
||||
NtGdiExtTextOut 8
|
||||
NtGdiGetAspectRatioFilterEx 2
|
||||
NtGdiGetFontFamilyInfo 4
|
||||
NtGdiGetFontLanguageInfo 1
|
||||
NtGdiGetTextExtentPoint32 4
|
||||
NtGdiOffsetViewportOrgEx 4
|
||||
NtGdiOffsetWindowOrgEx 4
|
||||
NtGdiPolyTextOut 3
|
||||
NtGdiRemoveFontResource 1
|
||||
#
|
||||
# ReactOS only system calls
|
||||
|
|
Loading…
Reference in a new issue