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/Microsoft.Win32.Primitives | |
parent | 4024e79ae5479e6eeb23eecdae4d2ee09481974f (diff) | |
parent | 6eb8bbf6f648e779cb045021f3c315b1fb92f627 (diff) |
Merge master into dev/eng
Diffstat (limited to 'src/Microsoft.Win32.Primitives')
-rw-r--r-- | src/Microsoft.Win32.Primitives/tests/Win32Exception.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Microsoft.Win32.Primitives/tests/Win32Exception.cs b/src/Microsoft.Win32.Primitives/tests/Win32Exception.cs index 1eb216669a..439979f7b4 100644 --- a/src/Microsoft.Win32.Primitives/tests/Win32Exception.cs +++ b/src/Microsoft.Win32.Primitives/tests/Win32Exception.cs @@ -16,7 +16,7 @@ namespace System.ComponentModel.Tests private const int ERROR_INSUFFICIENT_BUFFER = 0x7A; private const int FirstPassBufferSize = 256; - [DllImport("api-ms-win-core-localization-l1-2-0.dll", CharSet = CharSet.Unicode, EntryPoint = "FormatMessageW", SetLastError = true, BestFitMapping = true)] + [DllImport("kernel32.dll", CharSet = CharSet.Unicode, EntryPoint = "FormatMessageW", SetLastError = true, BestFitMapping = true)] private static extern int FormatMessage( int dwFlags, IntPtr lpSource_mustBeNull, |