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.
4 
5 using System.Runtime.InteropServices;
6 using System.Text;
7 
8 internal partial class Interop
9 {
10     internal partial class Kernel32
11     {
12         [DllImport(Interop.Libraries.Advapi32, CharSet = CharSet.Unicode, SetLastError = true)]
LookupAccountSid( string systemName, byte[] pSid, StringBuilder szUserName, ref int userNameSize, StringBuilder szDomainName, ref int domainNameSize, ref int eUse)13         public extern static int LookupAccountSid(
14             string systemName,
15             byte[] pSid,
16             StringBuilder szUserName,
17             ref int userNameSize,
18             StringBuilder szDomainName,
19             ref int domainNameSize,
20             ref int eUse);
21     }
22 }
23