Esempio n. 1
0
 internal static extern int FormatMessage(
     FormatFlags dwFlags,
     IntPtr lpSource,
     uint dwMessageId,
     int dwLanguageId,
     out SafeLocalAllocHandle lpBuffer,
     int nSize,
     IntPtr Arguments
     );
Esempio n. 2
0
 internal static extern bool ConvertStringSidToSid(
     string StringSid,
     out SafeLocalAllocHandle Sid);
Esempio n. 3
0
 internal static extern bool ConvertStringSecurityDescriptorToSecurityDescriptor(
     string StringSecurityDescriptor,
     int StringSDRevision,
     out SafeLocalAllocHandle SecurityDescriptor,
     out int SecurityDescriptorSize);
Esempio n. 4
0
 internal static extern bool ConvertSecurityDescriptorToStringSecurityDescriptor(
     byte[] SecurityDescriptor,
     int RequestedStringSDRevision,
     SecurityInformation SecurityInformation,
     out SafeLocalAllocHandle StringSecurityDescriptor,
     out int StringSecurityDescriptorLen);