SetFileSecurityA method

int SetFileSecurityA(
  1. Pointer<Int8> lpFileName,
  2. int SecurityInformation,
  3. Pointer<Void> pSecurityDescriptor
)

Implementation

int SetFileSecurityA(
  ffi.Pointer<ffi.Int8> lpFileName,
  int SecurityInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
) {
  return (_SetFileSecurityA ??=
      _dylib.lookupFunction<_c_SetFileSecurityA, _dart_SetFileSecurityA>(
          'SetFileSecurityA'))(
    lpFileName,
    SecurityInformation,
    pSecurityDescriptor,
  );
}