SetFileSecurityW method

int SetFileSecurityW(
  1. Pointer<Uint16> lpFileName,
  2. int SecurityInformation,
  3. Pointer<Void> pSecurityDescriptor
)

Implementation

int SetFileSecurityW(
  ffi.Pointer<ffi.Uint16> lpFileName,
  int SecurityInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
) {
  return (_SetFileSecurityW ??=
      _dylib.lookupFunction<_c_SetFileSecurityW, _dart_SetFileSecurityW>(
          'SetFileSecurityW'))(
    lpFileName,
    SecurityInformation,
    pSecurityDescriptor,
  );
}