[WIN32K][PSDK] Correct NtGdiGetGlyphIndicesW() pwc type. Brought to you by Vort....
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Oct 2015 14:35:14 +0000 (14:35 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Oct 2015 14:35:14 +0000 (14:35 +0000)
svn path=/trunk/; revision=69561

reactos/include/psdk/ntgdi.h
reactos/win32ss/gdi/ntgdi/freetype.c

index 83cd04f..b4484c5 100644 (file)
@@ -165,7 +165,7 @@ DWORD
 APIENTRY
 NtGdiGetGlyphIndicesW(
     _In_ HDC hdc,
-    _In_reads_opt_(cwc) LPWSTR pwc,
+    _In_reads_opt_(cwc) LPCWSTR pwc,
     _In_ INT cwc,
     _Out_writes_opt_(cwc) LPWORD pgi,
     _In_ DWORD iMode);
index 4557e24..45fb25c 100644 (file)
@@ -4457,7 +4457,7 @@ DWORD
 APIENTRY
 NtGdiGetGlyphIndicesW(
     _In_ HDC hdc,
-    _In_reads_opt_(cwc) LPWSTR pwc,
+    _In_reads_opt_(cwc) LPCWSTR pwc,
     _In_ INT cwc,
     _Out_writes_opt_(cwc) LPWORD pgi,
     _In_ DWORD iMode)
@@ -4475,7 +4475,7 @@ NtGdiGetGlyphIndicesW(
     PWSTR Buffer = NULL;
     ULONG Size, pwcSize;
     PWSTR Safepwc = NULL;
-    LPWSTR UnSafepwc = pwc;
+    LPCWSTR UnSafepwc = pwc;
     LPWORD UnSafepgi = pgi;
 
     if ((!UnSafepwc) && (!UnSafepgi)) return cwc;