GetVolumeInformationW method

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

Implementation

int GetVolumeInformationW(
  ffi.Pointer<ffi.Uint16> lpRootPathName,
  ffi.Pointer<ffi.Uint16> lpVolumeNameBuffer,
  int nVolumeNameSize,
  ffi.Pointer<ffi.Uint64> lpVolumeSerialNumber,
  ffi.Pointer<ffi.Uint64> lpMaximumComponentLength,
  ffi.Pointer<ffi.Uint64> lpFileSystemFlags,
  ffi.Pointer<ffi.Uint16> lpFileSystemNameBuffer,
  int nFileSystemNameSize,
) {
  return (_GetVolumeInformationW ??= _dylib.lookupFunction<
      _c_GetVolumeInformationW,
      _dart_GetVolumeInformationW>('GetVolumeInformationW'))(
    lpRootPathName,
    lpVolumeNameBuffer,
    nVolumeNameSize,
    lpVolumeSerialNumber,
    lpMaximumComponentLength,
    lpFileSystemFlags,
    lpFileSystemNameBuffer,
    nFileSystemNameSize,
  );
}