Interface DokanyOperations.WriteFile
- 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.
WriteFile callback on the file previously opened in
DokanyOperations.ZwCreateFile It can be called by different thread at the same time, therefore the write/context has to
be thread safe.-
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, com.sun.jna.Pointer rawBuffer, int rawNumberOfBytesToWrite, com.sun.jna.ptr.IntByReference rawNumberOfBytesWritten, long rawOffset, DokanyFileInfo dokanyFileInfo)
-
Method Details
-
callback
long callback(com.sun.jna.WString rawPath, com.sun.jna.Pointer rawBuffer, int rawNumberOfBytesToWrite, com.sun.jna.ptr.IntByReference rawNumberOfBytesWritten, long rawOffset, DokanyFileInfo dokanyFileInfo) - Parameters:
rawPath-rawBuffer-rawNumberOfBytesToWrite-rawNumberOfBytesWritten-rawOffset-dokanyFileInfo-DokanyFileInfowith information about the file or directory.- Returns:
NtStatus
-