Fix parameter to match the native name (dotnet/corefx#24659)
authorJustin Van Patten <jvp@justinvp.com>
Mon, 16 Oct 2017 12:46:20 +0000 (05:46 -0700)
committerStephen Toub <stoub@microsoft.com>
Mon, 16 Oct 2017 12:46:20 +0000 (08:46 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/ef3a1293c31cc9bdeafccd91af2fb209fda5fa1d

src/libraries/Common/src/Interop/Windows/kernel32/Interop.GetSystemDirectoryW.cs

index 1effa05..25c59d7 100644 (file)
@@ -10,7 +10,7 @@ internal static partial class Interop
     internal static partial class Kernel32
     {
         [DllImport(Libraries.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)]
-        private static extern unsafe int GetSystemDirectoryW(char* lpBuffer, int jSize);
+        private static extern unsafe int GetSystemDirectoryW(char* lpBuffer, int uSize);
 
         internal static unsafe int GetSystemDirectoryW(Span<char> buffer)
         {