mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[GDI32][NTGDI][SDK] ExtTextOut: Fix some type problems (#7856)
JIRA issue: CORE-19898 - Modify NtGdiExtTextOutW prototype. - Add const to some paramters. - Make Count parameter unsigned. - Delete needless type casts.
This commit is contained in:
parent
7afcd2a8b7
commit
3660920b7f
3 changed files with 12 additions and 12 deletions
|
@ -2500,10 +2500,10 @@ NtGdiExtTextOutW(
|
||||||
_In_ INT x,
|
_In_ INT x,
|
||||||
_In_ INT y,
|
_In_ INT y,
|
||||||
_In_ UINT flOpts,
|
_In_ UINT flOpts,
|
||||||
_In_opt_ LPRECT prcl,
|
_In_opt_ LPCRECT prcl,
|
||||||
_In_reads_opt_(cwc) LPWSTR pwsz,
|
_In_reads_opt_(cwc) LPCWSTR pwsz,
|
||||||
_In_range_(0, 0xffff) INT cwc,
|
_In_range_(0, 0xffff) UINT cwc,
|
||||||
_In_reads_opt_(_Inexpressible_(cwc)) LPINT pdx,
|
_In_reads_opt_(_Inexpressible_(cwc)) const INT *pdx,
|
||||||
_In_ DWORD dwCodePage);
|
_In_ DWORD dwCodePage);
|
||||||
|
|
||||||
__kernel_entry
|
__kernel_entry
|
||||||
|
|
|
@ -70,7 +70,7 @@ TextOutW(
|
||||||
_In_reads_(cchString) LPCWSTR lpString,
|
_In_reads_(cchString) LPCWSTR lpString,
|
||||||
_In_ INT cchString)
|
_In_ INT cchString)
|
||||||
{
|
{
|
||||||
return ExtTextOutW(hdc, nXStart, nYStart, 0, NULL, (LPWSTR)lpString, cchString, NULL);
|
return ExtTextOutW(hdc, nXStart, nYStart, 0, NULL, lpString, cchString, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -647,10 +647,10 @@ ExtTextOutW(
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
fuOptions,
|
fuOptions,
|
||||||
(LPRECT)lprc,
|
lprc,
|
||||||
(LPWSTR)lpString,
|
lpString,
|
||||||
cwc,
|
cwc,
|
||||||
(LPINT)lpDx,
|
lpDx,
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7360,10 +7360,10 @@ NtGdiExtTextOutW(
|
||||||
IN INT XStart,
|
IN INT XStart,
|
||||||
IN INT YStart,
|
IN INT YStart,
|
||||||
IN UINT fuOptions,
|
IN UINT fuOptions,
|
||||||
IN OPTIONAL LPRECT UnsafeRect,
|
IN OPTIONAL LPCRECT UnsafeRect,
|
||||||
IN LPWSTR UnsafeString,
|
IN LPCWSTR UnsafeString,
|
||||||
IN INT Count,
|
IN UINT Count,
|
||||||
IN OPTIONAL LPINT UnsafeDx,
|
IN OPTIONAL const INT *UnsafeDx,
|
||||||
IN DWORD dwCodePage)
|
IN DWORD dwCodePage)
|
||||||
{
|
{
|
||||||
BOOL Result = FALSE;
|
BOOL Result = FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue