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