GetFileSecurityA method

int GetFileSecurityA(
  1. Pointer<Int8> lpFileName,
  2. int RequestedInformation,
  3. Pointer<Void> pSecurityDescriptor,
  4. int nLength,
  5. Pointer<Uint64> lpnLengthNeeded,
)

Implementation

int GetFileSecurityA(
  ffi.Pointer<ffi.Int8> lpFileName,
  int RequestedInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
  int nLength,
  ffi.Pointer<ffi.Uint64> lpnLengthNeeded,
) {
  return (_GetFileSecurityA ??=
      _dylib.lookupFunction<_c_GetFileSecurityA, _dart_GetFileSecurityA>(
          'GetFileSecurityA'))(
    lpFileName,
    RequestedInformation,
    pSecurityDescriptor,
    nLength,
    lpnLengthNeeded,
  );
}