RtlNormalizeSecurityDescriptor method

int RtlNormalizeSecurityDescriptor(
  1. Pointer<Pointer<Void>> SecurityDescriptor,
  2. int SecurityDescriptorLength,
  3. Pointer<Pointer<Void>> NewSecurityDescriptor,
  4. Pointer<Uint64> NewSecurityDescriptorLength,
  5. int CheckOnly,
)

Implementation

int RtlNormalizeSecurityDescriptor(
  ffi.Pointer<ffi.Pointer<ffi.Void>> SecurityDescriptor,
  int SecurityDescriptorLength,
  ffi.Pointer<ffi.Pointer<ffi.Void>> NewSecurityDescriptor,
  ffi.Pointer<ffi.Uint64> NewSecurityDescriptorLength,
  int CheckOnly,
) {
  return (_RtlNormalizeSecurityDescriptor ??= _dylib.lookupFunction<
          _c_RtlNormalizeSecurityDescriptor,
          _dart_RtlNormalizeSecurityDescriptor>(
      'RtlNormalizeSecurityDescriptor'))(
    SecurityDescriptor,
    SecurityDescriptorLength,
    NewSecurityDescriptor,
    NewSecurityDescriptorLength,
    CheckOnly,
  );
}