Interface DokanyOperations.CloseFile

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.CloseFile extends DokanCallback
CloseFile is called at the end of the life of the context. Receipt of this request indicates that the last handle of the file object that is associated with the target device object has been closed and released. All outstanding I/O requests have been completed or canceled.

CloseFile is requested after DokanyOperations.Cleanup is called. Anything remaining in DokanyFileInfo.Context has to be cleared before return.

  • 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
    void
    callback(com.sun.jna.WString rawPath, DokanyFileInfo dokanyFileInfo)
     
  • Method Details

    • callback

      void callback(com.sun.jna.WString rawPath, DokanyFileInfo dokanyFileInfo)
      Parameters:
      rawPath -
      dokanyFileInfo - DokanyFileInfo with information about the file or directory.