diff options
author | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-12 21:09:09 +0300 |
---|---|---|
committer | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-12 21:09:09 +0300 |
commit | a9dd06b73bdd71038217bb263decf2b7285fb8db (patch) | |
tree | 0284d13d3cd87b0de1a278b2d4570c50ec342c68 /src/System.Runtime.Extensions/tests | |
parent | 4024e79ae5479e6eeb23eecdae4d2ee09481974f (diff) | |
parent | 6eb8bbf6f648e779cb045021f3c315b1fb92f627 (diff) |
Merge master into dev/eng
Diffstat (limited to 'src/System.Runtime.Extensions/tests')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Runtime.Extensions/tests/System/Environment.GetEnvironmentVariable.cs b/src/System.Runtime.Extensions/tests/System/Environment.GetEnvironmentVariable.cs index c0c45b7688..66488f3e42 100644 --- a/src/System.Runtime.Extensions/tests/System/Environment.GetEnvironmentVariable.cs +++ b/src/System.Runtime.Extensions/tests/System/Environment.GetEnvironmentVariable.cs @@ -224,7 +224,7 @@ namespace System.Tests Assert.True(success); } - [DllImport("api-ms-win-core-processenvironment-l1-1-0.dll", CharSet = CharSet.Unicode, SetLastError = true)] + [DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] private static extern bool SetEnvironmentVariable(string lpName, string lpValue); [DllImport("libc")] diff --git a/src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs b/src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs index 7fcfb0b255..8e7f0484b0 100644 --- a/src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs +++ b/src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs @@ -48,7 +48,7 @@ namespace System.Tests [DllImport("libc")] private static extern long sysconf(int name); - [DllImport("api-ms-win-core-sysinfo-l1-1-0.dll", SetLastError = true)] + [DllImport("kernel32.dll", SetLastError = true)] internal static extern void GetSystemInfo(ref SYSTEM_INFO lpSystemInfo); [StructLayout(LayoutKind.Sequential)] diff --git a/src/System.Runtime.Extensions/tests/System/EnvironmentTests.cs b/src/System.Runtime.Extensions/tests/System/EnvironmentTests.cs index 51561a2ad3..4825078092 100644 --- a/src/System.Runtime.Extensions/tests/System/EnvironmentTests.cs +++ b/src/System.Runtime.Extensions/tests/System/EnvironmentTests.cs @@ -345,7 +345,7 @@ namespace System.Tests } } - [DllImport("api-ms-win-core-file-l1-1-0.dll", SetLastError = true)] + [DllImport("kernel32.dll", SetLastError = true)] internal static extern int GetLogicalDrives(); [DllImport("shell32.dll", SetLastError = false, BestFitMapping = false, ExactSpelling = true)] |