GetDiskSpaceInformationA method

int GetDiskSpaceInformationA(
  1. Pointer<Int8> rootPath,
  2. Pointer<DISK_SPACE_INFORMATION> diskSpaceInfo
)

Implementation

int GetDiskSpaceInformationA(
  ffi.Pointer<ffi.Int8> rootPath,
  ffi.Pointer<DISK_SPACE_INFORMATION> diskSpaceInfo,
) {
  return (_GetDiskSpaceInformationA ??= _dylib.lookupFunction<
      _c_GetDiskSpaceInformationA,
      _dart_GetDiskSpaceInformationA>('GetDiskSpaceInformationA'))(
    rootPath,
    diskSpaceInfo,
  );
}