GetVolumeInformationByHandleW method
Implementation
int GetVolumeInformationByHandleW(
ffi.Pointer<ffi.Void> hFile,
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 (_GetVolumeInformationByHandleW ??= _dylib.lookupFunction<
_c_GetVolumeInformationByHandleW,
_dart_GetVolumeInformationByHandleW>('GetVolumeInformationByHandleW'))(
hFile,
lpVolumeNameBuffer,
nVolumeNameSize,
lpVolumeSerialNumber,
lpMaximumComponentLength,
lpFileSystemFlags,
lpFileSystemNameBuffer,
nFileSystemNameSize,
);
}