Interface DokanyOperations.GetVolumeInformation
- 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.GetVolumeInformation
extends DokanCallback
Retrieves information about the file system and volume associated with the specified root directory.
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 TypeMethodDescriptionlongcallback(com.sun.jna.Pointer rawVolumeNameBuffer, int rawVolumeNameSize, com.sun.jna.ptr.IntByReference rawVolumeSerialNumber, com.sun.jna.ptr.IntByReference rawMaximumComponentLength, com.sun.jna.ptr.IntByReference rawFileSystemFlags, com.sun.jna.Pointer rawFileSystemNameBuffer, int rawFileSystemNameSize, DokanyFileInfo dokanyFileInfo)
-
Method Details
-
callback
long callback(com.sun.jna.Pointer rawVolumeNameBuffer, int rawVolumeNameSize, com.sun.jna.ptr.IntByReference rawVolumeSerialNumber, com.sun.jna.ptr.IntByReference rawMaximumComponentLength, com.sun.jna.ptr.IntByReference rawFileSystemFlags, com.sun.jna.Pointer rawFileSystemNameBuffer, int rawFileSystemNameSize, DokanyFileInfo dokanyFileInfo) - Parameters:
rawVolumeNameBuffer-rawVolumeNameSize-rawVolumeSerialNumber-rawMaximumComponentLength-rawFileSystemFlags-rawFileSystemNameBuffer-rawFileSystemNameSize-dokanyFileInfo-DokanyFileInfowith information about the file or directory.- Returns:
NtStatus
-