More corelib cleanup (dotnet/coreclr#26993)
[mono-project.git] / netcore / System.Private.CoreLib / shared / Interop / Windows / Kernel32 / Interop.GetCurrentDirectory.cs
blob4e30a8be4328a1fd356fae46a665a9844c6daede
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System.Runtime.InteropServices;
7 internal static partial class Interop
9 internal static partial class Kernel32
11 [DllImport(Libraries.Kernel32, EntryPoint = "GetCurrentDirectoryW", SetLastError = true, CharSet = CharSet.Unicode, BestFitMapping = false)]
12 internal static extern uint GetCurrentDirectory(uint nBufferLength, ref char lpBuffer);