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