summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-01-22 18:14:53 +0100
committerJan Kotas <jkotas@microsoft.com>2019-01-23 12:54:10 -0800
commit797888982e264e2ecfbc436f782f2f6704644e84 (patch)
tree7c2e6fec30aac2b96f0943e94c13551ccb816b5d /src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
parent04c465d2253945dea03c8e447a30dd6d1d7b55be (diff)
downloadcoreclr-797888982e264e2ecfbc436f782f2f6704644e84.tar.gz
coreclr-797888982e264e2ecfbc436f782f2f6704644e84.tar.bz2
coreclr-797888982e264e2ecfbc436f782f2f6704644e84.zip
Update parameter names in PInvoke signatures to match MSDN documentation.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs')
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
index 45549eaad6..25fd1f0bd3 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
@@ -20,7 +20,7 @@ internal partial class Interop
internal static extern unsafe void* VirtualAlloc(void* BaseAddress, UIntPtr Size, int AllocationType, int Protection);
#else
[DllImport(Libraries.Kernel32)]
- internal static extern unsafe void* VirtualAlloc(void* address, UIntPtr numBytes, int commitOrReserve, int pageProtectionMode);
+ internal static extern unsafe void* VirtualAlloc(void* lpAddress, UIntPtr dwSize, int flAllocationType, int flProtect);
#endif
}
}