C# Class Dokan.Proxy

Afficher le fichier Open project: soywiz/csharputils

Méthodes publiques

Méthode Description
CleanupProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
CloseFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
CreateDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
CreateFileProxy ( IntPtr rawFileName, uint rawAccessMode, uint rawShare, uint rawCreationDisposition, uint rawFlagsAndAttributes, DOKAN_FILE_INFO &rawFileInfo ) : int
DeleteDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
DeleteFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
FindFilesProxy ( IntPtr rawFileName, IntPtr rawFillFindData, DOKAN_FILE_INFO &rawFileInfo ) : int
FlushFileBuffersProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
GetDiskFreeSpaceProxy ( ulong &rawFreeBytesAvailable, ulong &rawTotalNumberOfBytes, ulong &rawTotalNumberOfFreeBytes, DOKAN_FILE_INFO &rawFileInfo ) : int
GetFileInformationProxy ( IntPtr rawFileName, BY_HANDLE_FILE_INFORMATION &rawHandleFileInformation, DOKAN_FILE_INFO &rawFileInfo ) : int
GetFileSecurity ( IntPtr rawFileName, SECURITY_INFORMATION &rawRequestedInformation, SECURITY_DESCRIPTOR &rawSecurityDescriptor, uint rawSecurityDescriptorLength, uint &rawSecurityDescriptorLengthNeeded, DOKAN_FILE_INFO &rawFileInfo ) : int
GetVolumeInformationProxy ( IntPtr rawVolumeNameBuffer, uint rawVolumeNameSize, uint &rawVolumeSerialNumber, uint &rawMaximumComponentLength, uint &rawFileSystemFlags, IntPtr rawFileSystemNameBuffer, uint rawFileSystemNameSize, DOKAN_FILE_INFO &FileInfo ) : int
LockFileProxy ( IntPtr rawFileName, long rawByteOffset, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
MoveFileProxy ( IntPtr rawFileName, IntPtr rawNewFileName, int rawReplaceIfExisting, DOKAN_FILE_INFO &rawFileInfo ) : int
OpenDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
Proxy ( DokanOptions options, DokanOperations operations ) : System
ReadFileProxy ( IntPtr rawFileName, IntPtr rawBuffer, uint rawBufferLength, uint &rawReadLength, long rawOffset, DOKAN_FILE_INFO &rawFileInfo ) : int
SetAllocationSizeProxy ( IntPtr rawFileName, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
SetEndOfFileProxy ( IntPtr rawFileName, long rawByteOffset, DOKAN_FILE_INFO &rawFileInfo ) : int
SetFileAttributesProxy ( IntPtr rawFileName, uint rawAttributes, DOKAN_FILE_INFO &rawFileInfo ) : int
SetFileSecurity ( IntPtr rawFileName, SECURITY_INFORMATION &rawSecurityInformation, SECURITY_DESCRIPTOR &rawSecurityDescriptor, uint &rawSecurityDescriptorLengthNeeded, DOKAN_FILE_INFO &rawFileInfo ) : int
SetFileTimeProxy ( IntPtr rawFileName, System.Runtime.InteropServices.ComTypes &rawCreationTime, System.Runtime.InteropServices.ComTypes &rawLastAccessTime, System.Runtime.InteropServices.ComTypes &rawLastWriteTime, DOKAN_FILE_INFO &rawFileInfo ) : int
UnlockFileProxy ( IntPtr rawFileName, long rawByteOffset, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
UnmountProxy ( DOKAN_FILE_INFO &rawFileInfo ) : int
WriteFileProxy ( IntPtr rawFileName, IntPtr rawBuffer, uint rawNumberOfBytesToWrite, uint &rawNumberOfBytesWritten, long rawOffset, DOKAN_FILE_INFO &rawFileInfo ) : int

Private Methods

Méthode Description
ConvertFileInfo ( DOKAN_FILE_INFO &rawInfo, DokanFileInfo info ) : void
GetFileInfo ( DOKAN_FILE_INFO &rawFileInfo ) : DokanFileInfo
GetFileName ( IntPtr fileName ) : string
GetNewFileInfo ( DOKAN_FILE_INFO &rawFileInfo ) : DokanFileInfo

Method Details

CleanupProxy() public méthode

public CleanupProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

CloseFileProxy() public méthode

public CloseFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

CreateDirectoryProxy() public méthode

public CreateDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

CreateFileProxy() public méthode

public CreateFileProxy ( IntPtr rawFileName, uint rawAccessMode, uint rawShare, uint rawCreationDisposition, uint rawFlagsAndAttributes, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawAccessMode uint
rawShare uint
rawCreationDisposition uint
rawFlagsAndAttributes uint
rawFileInfo DOKAN_FILE_INFO
Résultat int

DeleteDirectoryProxy() public méthode

public DeleteDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

DeleteFileProxy() public méthode

public DeleteFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

FindFilesProxy() public méthode

public FindFilesProxy ( IntPtr rawFileName, IntPtr rawFillFindData, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFillFindData System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

FlushFileBuffersProxy() public méthode

public FlushFileBuffersProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

GetDiskFreeSpaceProxy() public méthode

public GetDiskFreeSpaceProxy ( ulong &rawFreeBytesAvailable, ulong &rawTotalNumberOfBytes, ulong &rawTotalNumberOfFreeBytes, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFreeBytesAvailable ulong
rawTotalNumberOfBytes ulong
rawTotalNumberOfFreeBytes ulong
rawFileInfo DOKAN_FILE_INFO
Résultat int

GetFileInformationProxy() public méthode

public GetFileInformationProxy ( IntPtr rawFileName, BY_HANDLE_FILE_INFORMATION &rawHandleFileInformation, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawHandleFileInformation BY_HANDLE_FILE_INFORMATION
rawFileInfo DOKAN_FILE_INFO
Résultat int

GetFileSecurity() public méthode

public GetFileSecurity ( IntPtr rawFileName, SECURITY_INFORMATION &rawRequestedInformation, SECURITY_DESCRIPTOR &rawSecurityDescriptor, uint rawSecurityDescriptorLength, uint &rawSecurityDescriptorLengthNeeded, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawRequestedInformation SECURITY_INFORMATION
rawSecurityDescriptor SECURITY_DESCRIPTOR
rawSecurityDescriptorLength uint
rawSecurityDescriptorLengthNeeded uint
rawFileInfo DOKAN_FILE_INFO
Résultat int

GetVolumeInformationProxy() public méthode

public GetVolumeInformationProxy ( IntPtr rawVolumeNameBuffer, uint rawVolumeNameSize, uint &rawVolumeSerialNumber, uint &rawMaximumComponentLength, uint &rawFileSystemFlags, IntPtr rawFileSystemNameBuffer, uint rawFileSystemNameSize, DOKAN_FILE_INFO &FileInfo ) : int
rawVolumeNameBuffer System.IntPtr
rawVolumeNameSize uint
rawVolumeSerialNumber uint
rawMaximumComponentLength uint
rawFileSystemFlags uint
rawFileSystemNameBuffer System.IntPtr
rawFileSystemNameSize uint
FileInfo DOKAN_FILE_INFO
Résultat int

LockFileProxy() public méthode

public LockFileProxy ( IntPtr rawFileName, long rawByteOffset, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawByteOffset long
rawLength long
rawFileInfo DOKAN_FILE_INFO
Résultat int

MoveFileProxy() public méthode

public MoveFileProxy ( IntPtr rawFileName, IntPtr rawNewFileName, int rawReplaceIfExisting, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawNewFileName System.IntPtr
rawReplaceIfExisting int
rawFileInfo DOKAN_FILE_INFO
Résultat int

OpenDirectoryProxy() public méthode

public OpenDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
Résultat int

Proxy() public méthode

public Proxy ( DokanOptions options, DokanOperations operations ) : System
options DokanOptions
operations DokanOperations
Résultat System

ReadFileProxy() public méthode

public ReadFileProxy ( IntPtr rawFileName, IntPtr rawBuffer, uint rawBufferLength, uint &rawReadLength, long rawOffset, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawBuffer System.IntPtr
rawBufferLength uint
rawReadLength uint
rawOffset long
rawFileInfo DOKAN_FILE_INFO
Résultat int

SetAllocationSizeProxy() public méthode

public SetAllocationSizeProxy ( IntPtr rawFileName, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawLength long
rawFileInfo DOKAN_FILE_INFO
Résultat int

SetEndOfFileProxy() public méthode

public SetEndOfFileProxy ( IntPtr rawFileName, long rawByteOffset, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawByteOffset long
rawFileInfo DOKAN_FILE_INFO
Résultat int

SetFileAttributesProxy() public méthode

public SetFileAttributesProxy ( IntPtr rawFileName, uint rawAttributes, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawAttributes uint
rawFileInfo DOKAN_FILE_INFO
Résultat int

SetFileSecurity() public méthode

public SetFileSecurity ( IntPtr rawFileName, SECURITY_INFORMATION &rawSecurityInformation, SECURITY_DESCRIPTOR &rawSecurityDescriptor, uint &rawSecurityDescriptorLengthNeeded, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawSecurityInformation SECURITY_INFORMATION
rawSecurityDescriptor SECURITY_DESCRIPTOR
rawSecurityDescriptorLengthNeeded uint
rawFileInfo DOKAN_FILE_INFO
Résultat int

SetFileTimeProxy() public méthode

public SetFileTimeProxy ( IntPtr rawFileName, System.Runtime.InteropServices.ComTypes &rawCreationTime, System.Runtime.InteropServices.ComTypes &rawLastAccessTime, System.Runtime.InteropServices.ComTypes &rawLastWriteTime, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawCreationTime System.Runtime.InteropServices.ComTypes
rawLastAccessTime System.Runtime.InteropServices.ComTypes
rawLastWriteTime System.Runtime.InteropServices.ComTypes
rawFileInfo DOKAN_FILE_INFO
Résultat int

UnlockFileProxy() public méthode

public UnlockFileProxy ( IntPtr rawFileName, long rawByteOffset, long rawLength, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawByteOffset long
rawLength long
rawFileInfo DOKAN_FILE_INFO
Résultat int

UnmountProxy() public méthode

public UnmountProxy ( DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileInfo DOKAN_FILE_INFO
Résultat int

WriteFileProxy() public méthode

public WriteFileProxy ( IntPtr rawFileName, IntPtr rawBuffer, uint rawNumberOfBytesToWrite, uint &rawNumberOfBytesWritten, long rawOffset, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawBuffer System.IntPtr
rawNumberOfBytesToWrite uint
rawNumberOfBytesWritten uint
rawOffset long
rawFileInfo DOKAN_FILE_INFO
Résultat int