Interface DokanyOperations.LockFile
- 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.
Lock file at a specific offset and data length. This is only used if
DokanOption.FILELOCK_USER_MODE is enabled.-
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 TypeMethodDescriptionlongcallback(com.sun.jna.WString rawPath, long rawByteOffset, long rawLength, DokanyFileInfo dokanyFileInfo)
-
Method Details
-
callback
long callback(com.sun.jna.WString rawPath, long rawByteOffset, long rawLength, DokanyFileInfo dokanyFileInfo) - Parameters:
rawPath-rawByteOffset-rawLength-dokanyFileInfo-DokanyFileInfowith information about the file or directory.- Returns:
NtStatus
-