More corelib cleanup (dotnet/coreclr#26993)
[mono-project.git] / netcore / System.Private.CoreLib / shared / Interop / Windows / Kernel32 / Interop.GetFullPathNameW.cs
blob1bb63e7ed1d504e498455179f79c9c3727ecbd1c
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;
6 using System.Runtime.InteropServices;
8 internal static partial class Interop
10 internal static partial class Kernel32
12 /// <summary>
13 /// WARNING: This method does not implicitly handle long paths. Use GetFullPathName or PathHelper.
14 /// </summary>
15 [DllImport(Libraries.Kernel32, SetLastError = true, CharSet = CharSet.Unicode, BestFitMapping = false, ExactSpelling = true)]
16 internal static extern uint GetFullPathNameW(ref char lpFileName, uint nBufferLength, ref char lpBuffer, IntPtr lpFilePart);