Interface DokanyOperations.GetDiskFreeSpace

All Superinterfaces:
com.sun.jna.AltCallingConvention, com.sun.jna.Callback, DokanCallback, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary.StdCallCallback
Enclosing class:
DokanyOperations
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DokanyOperations.GetDiskFreeSpace extends DokanCallback
Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread.

Neither this method nor DokanyOperations.GetVolumeInformation save the DokanyFileInfo.Context. Before these methods are called, DokanyOperations.ZwCreateFile may not be called. (ditto @{link DokanyOperations.CloseFile} and @{link DokanyOperations.Cleanup}).

  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    callback(com.sun.jna.ptr.LongByReference freeBytesAvailable, com.sun.jna.ptr.LongByReference totalNumberOfBytes, com.sun.jna.ptr.LongByReference totalNumberOfFreeBytes, DokanyFileInfo dokanyFileInfo)
     
  • Method Details

    • callback

      long callback(com.sun.jna.ptr.LongByReference freeBytesAvailable, com.sun.jna.ptr.LongByReference totalNumberOfBytes, com.sun.jna.ptr.LongByReference totalNumberOfFreeBytes, DokanyFileInfo dokanyFileInfo)
      Parameters:
      freeBytesAvailable -
      totalNumberOfBytes -
      totalNumberOfFreeBytes -
      dokanyFileInfo - DokanyFileInfo with information about the file or directory.
      Returns:
      NtStatus