.
The RtlInitializeSid routine initializes a security identifier (SID) structure.
6/9/2014 3:27:54 PM - -82.12.213.153
.
private static extern Int32 RtlInitializeSid([In, Out] ref SID Sid, [In] ref SID_IDENTIFIER_AUTHORITY IdentifierAuthority, byte SubAuthorityCount);
.
Declare Function RtlInitializeSid Lib "ntdll.dll" (TODO) As TODO
.
var status = RtlInitializeSid(ref sid, ref id, (byte)sid.SubAuthority.Length);
.