mirror of
https://github.com/reactos/reactos.git
synced 2025-05-13 22:30:21 +00:00
[WIN32K][PSDK] Correct NtGdiGetGlyphIndicesW() pwc type. Brought to you by Vort. CORE-867
svn path=/trunk/; revision=69561
This commit is contained in:
parent
3128be5640
commit
ecfe47b635
2 changed files with 3 additions and 3 deletions
|
@ -165,7 +165,7 @@ DWORD
|
||||||
APIENTRY
|
APIENTRY
|
||||||
NtGdiGetGlyphIndicesW(
|
NtGdiGetGlyphIndicesW(
|
||||||
_In_ HDC hdc,
|
_In_ HDC hdc,
|
||||||
_In_reads_opt_(cwc) LPWSTR pwc,
|
_In_reads_opt_(cwc) LPCWSTR pwc,
|
||||||
_In_ INT cwc,
|
_In_ INT cwc,
|
||||||
_Out_writes_opt_(cwc) LPWORD pgi,
|
_Out_writes_opt_(cwc) LPWORD pgi,
|
||||||
_In_ DWORD iMode);
|
_In_ DWORD iMode);
|
||||||
|
|
|
@ -4457,7 +4457,7 @@ DWORD
|
||||||
APIENTRY
|
APIENTRY
|
||||||
NtGdiGetGlyphIndicesW(
|
NtGdiGetGlyphIndicesW(
|
||||||
_In_ HDC hdc,
|
_In_ HDC hdc,
|
||||||
_In_reads_opt_(cwc) LPWSTR pwc,
|
_In_reads_opt_(cwc) LPCWSTR pwc,
|
||||||
_In_ INT cwc,
|
_In_ INT cwc,
|
||||||
_Out_writes_opt_(cwc) LPWORD pgi,
|
_Out_writes_opt_(cwc) LPWORD pgi,
|
||||||
_In_ DWORD iMode)
|
_In_ DWORD iMode)
|
||||||
|
@ -4475,7 +4475,7 @@ NtGdiGetGlyphIndicesW(
|
||||||
PWSTR Buffer = NULL;
|
PWSTR Buffer = NULL;
|
||||||
ULONG Size, pwcSize;
|
ULONG Size, pwcSize;
|
||||||
PWSTR Safepwc = NULL;
|
PWSTR Safepwc = NULL;
|
||||||
LPWSTR UnSafepwc = pwc;
|
LPCWSTR UnSafepwc = pwc;
|
||||||
LPWORD UnSafepgi = pgi;
|
LPWORD UnSafepgi = pgi;
|
||||||
|
|
||||||
if ((!UnSafepwc) && (!UnSafepgi)) return cwc;
|
if ((!UnSafepwc) && (!UnSafepgi)) return cwc;
|
||||||
|
|
Loading…
Reference in a new issue