[DllImport("advapi32.dll", SetLastError=true)]
static extern TODO GetSidIdentifierAuthority(TODO);
Declare Function GetSidIdentifierAuthority Lib "advapi32.dll" (
ByVal psid As IntPtr
) As IntPtr
None.
None.
Please add some!
'Extract the authority record from the SID.
Dim sia(5) As Byte
Runtime.InteropServices.Marshal.Copy(GetSidIdentifierAuthority(pSID), sia, 0, 6)
Do you know one? Please contribute it!