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
);