GetVolumeInformationA method

int GetVolumeInformationA(
  1. Pointer<Int8> lpRootPathName,
  2. Pointer<Int8> lpVolumeNameBuffer,
  3. int nVolumeNameSize,
  4. Pointer<Uint64> lpVolumeSerialNumber,
  5. Pointer<Uint64> lpMaximumComponentLength,
  6. Pointer<Uint64> lpFileSystemFlags,
  7. Pointer<Int8> lpFileSystemNameBuffer,
  8. int nFileSystemNameSize,
)

Implementation

int GetVolumeInformationA(
  ffi.Pointer<ffi.Int8> lpRootPathName,
  ffi.Pointer<ffi.Int8> lpVolumeNameBuffer,
  int nVolumeNameSize,
  ffi.Pointer<ffi.Uint64> lpVolumeSerialNumber,
  ffi.Pointer<ffi.Uint64> lpMaximumComponentLength,
  ffi.Pointer<ffi.Uint64> lpFileSystemFlags,
  ffi.Pointer<ffi.Int8> lpFileSystemNameBuffer,
  int nFileSystemNameSize,
) {
  return (_GetVolumeInformationA ??= _dylib.lookupFunction<
      _c_GetVolumeInformationA,
      _dart_GetVolumeInformationA>('GetVolumeInformationA'))(
    lpRootPathName,
    lpVolumeNameBuffer,
    nVolumeNameSize,
    lpVolumeSerialNumber,
    lpMaximumComponentLength,
    lpFileSystemFlags,
    lpFileSystemNameBuffer,
    nFileSystemNameSize,
  );
}