GetDiskFreeSpaceW method
Implementation
int GetDiskFreeSpaceW(
ffi.Pointer<ffi.Uint16> lpRootPathName,
ffi.Pointer<ffi.Uint64> lpSectorsPerCluster,
ffi.Pointer<ffi.Uint64> lpBytesPerSector,
ffi.Pointer<ffi.Uint64> lpNumberOfFreeClusters,
ffi.Pointer<ffi.Uint64> lpTotalNumberOfClusters,
) {
return (_GetDiskFreeSpaceW ??=
_dylib.lookupFunction<_c_GetDiskFreeSpaceW, _dart_GetDiskFreeSpaceW>(
'GetDiskFreeSpaceW'))(
lpRootPathName,
lpSectorsPerCluster,
lpBytesPerSector,
lpNumberOfFreeClusters,
lpTotalNumberOfClusters,
);
}