SetSecurityDescriptorDacl method

int SetSecurityDescriptorDacl(
  1. Pointer<Void> pSecurityDescriptor,
  2. int bDaclPresent,
  3. Pointer<ACL> pDacl,
  4. int bDaclDefaulted,
)

Implementation

int SetSecurityDescriptorDacl(
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
  int bDaclPresent,
  ffi.Pointer<ACL> pDacl,
  int bDaclDefaulted,
) {
  return (_SetSecurityDescriptorDacl ??= _dylib.lookupFunction<
      _c_SetSecurityDescriptorDacl,
      _dart_SetSecurityDescriptorDacl>('SetSecurityDescriptorDacl'))(
    pSecurityDescriptor,
    bDaclPresent,
    pDacl,
    bDaclDefaulted,
  );
}