diff options
author | Austin Wise <AustinWise@gmail.com> | 2015-12-02 01:54:36 +0300 |
---|---|---|
committer | Austin Wise <AustinWise@gmail.com> | 2015-12-02 01:54:36 +0300 |
commit | cfaeb79a0c76c7c72e16c7cf635064fd489fac9c (patch) | |
tree | 35b2cce6e4468d6b8ba7b1dd1d7cf196480ef95a /src/Common | |
parent | 0a69d826487e4ea81c1ae3a71d8e5840f101657f (diff) |
Fix the name of DLL in DllImport.
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/src/Interop/Windows/mincore/Interop.Console.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/src/Interop/Windows/mincore/Interop.Console.cs b/src/Common/src/Interop/Windows/mincore/Interop.Console.cs index 1e4526a90..d49d6c650 100644 --- a/src/Common/src/Interop/Windows/mincore/Interop.Console.cs +++ b/src/Common/src/Interop/Windows/mincore/Interop.Console.cs @@ -15,10 +15,10 @@ internal static partial class Interop internal static unsafe partial class mincore { - [DllImport("Libraries.Process")] + [DllImport(Libraries.Process)] internal static extern IntPtr GetStdHandle(int nStdHandle); - [DllImport("Libraries.Console", EntryPoint = "WriteConsoleW")] + [DllImport(Libraries.Console, EntryPoint = "WriteConsoleW")] internal static unsafe extern bool WriteConsole(IntPtr hConsoleOutput, byte* lpBuffer, int nNumberOfCharsToWrite, out int lpNumberOfCharsWritten, IntPtr lpReservedMustBeNull); } } |