C# Class TarFS.FileSystem.Operations

Inheritance: IDokanOperations
Mostrar archivo Open project: voltagex/junkcode

Public Methods

Method Description
Cleanup ( string fileName, DokanNet.DokanFileInfo info ) : void
CloseFile ( string fileName, DokanNet.DokanFileInfo info ) : void
CreateDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
CreateFile ( string fileName, DokanNet.FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanNet.DokanFileInfo info ) : NtStatus
DeleteDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
DeleteFile ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
EnumerateNamedStreams ( string fileName, IntPtr enumContext, string &streamName, long &streamSize, DokanNet.DokanFileInfo info ) : NtStatus
FindFiles ( string fileName, IList &files, DokanNet.DokanFileInfo info ) : NtStatus
FlushFileBuffers ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
GetDiskFreeSpace ( long &freeBytesAvailable, long &totalNumberOfBytes, long &totalNumberOfFreeBytes, DokanNet.DokanFileInfo info ) : NtStatus
GetFileInformation ( string fileName, DokanNet.FileInformation &fileInfo, DokanNet.DokanFileInfo info ) : NtStatus
GetFileSecurity ( string fileName, FileSystemSecurity &security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : NtStatus
GetVolumeInformation ( string &volumeLabel, FileSystemFeatures &features, string &fileSystemName, DokanNet.DokanFileInfo info ) : NtStatus
LockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : NtStatus
MoveFile ( string oldName, string newName, bool replace, DokanNet.DokanFileInfo info ) : NtStatus
OpenDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
Operations ( string TarFile ) : System
ReadFile ( string fileName, byte buffer, int &bytesRead, long offset, DokanNet.DokanFileInfo info ) : NtStatus
SetAllocationSize ( string fileName, long length, DokanNet.DokanFileInfo info ) : NtStatus
SetEndOfFile ( string fileName, long length, DokanNet.DokanFileInfo info ) : NtStatus
SetFileAttributes ( string fileName, FileAttributes attributes, DokanNet.DokanFileInfo info ) : NtStatus
SetFileSecurity ( string fileName, FileSystemSecurity security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : NtStatus
SetFileTime ( string fileName, System.DateTime creationTime, System.DateTime lastAccessTime, System.DateTime lastWriteTime, DokanNet.DokanFileInfo info ) : NtStatus
UnlockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : NtStatus
Unmount ( DokanNet.DokanFileInfo info ) : NtStatus
WriteFile ( string fileName, byte buffer, int &bytesWritten, long offset, DokanNet.DokanFileInfo info ) : NtStatus

Method Details

Cleanup() public method

public Cleanup ( string fileName, DokanNet.DokanFileInfo info ) : void
fileName string
info DokanNet.DokanFileInfo
return void

CloseFile() public method

public CloseFile ( string fileName, DokanNet.DokanFileInfo info ) : void
fileName string
info DokanNet.DokanFileInfo
return void

CreateDirectory() public method

public CreateDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
info DokanNet.DokanFileInfo
return NtStatus

CreateFile() public method

public CreateFile ( string fileName, DokanNet.FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
access DokanNet.FileAccess
share FileShare
mode FileMode
options FileOptions
attributes FileAttributes
info DokanNet.DokanFileInfo
return NtStatus

DeleteDirectory() public method

public DeleteDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
info DokanNet.DokanFileInfo
return NtStatus

DeleteFile() public method

public DeleteFile ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
info DokanNet.DokanFileInfo
return NtStatus

EnumerateNamedStreams() public method

public EnumerateNamedStreams ( string fileName, IntPtr enumContext, string &streamName, long &streamSize, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
enumContext System.IntPtr
streamName string
streamSize long
info DokanNet.DokanFileInfo
return NtStatus

FindFiles() public method

public FindFiles ( string fileName, IList &files, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
files IList
info DokanNet.DokanFileInfo
return NtStatus

FlushFileBuffers() public method

public FlushFileBuffers ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
info DokanNet.DokanFileInfo
return NtStatus

GetDiskFreeSpace() public method

public GetDiskFreeSpace ( long &freeBytesAvailable, long &totalNumberOfBytes, long &totalNumberOfFreeBytes, DokanNet.DokanFileInfo info ) : NtStatus
freeBytesAvailable long
totalNumberOfBytes long
totalNumberOfFreeBytes long
info DokanNet.DokanFileInfo
return NtStatus

GetFileInformation() public method

public GetFileInformation ( string fileName, DokanNet.FileInformation &fileInfo, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
fileInfo DokanNet.FileInformation
info DokanNet.DokanFileInfo
return NtStatus

GetFileSecurity() public method

public GetFileSecurity ( string fileName, FileSystemSecurity &security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
security System.Security.AccessControl.FileSystemSecurity
sections AccessControlSections
info DokanNet.DokanFileInfo
return NtStatus

GetVolumeInformation() public method

public GetVolumeInformation ( string &volumeLabel, FileSystemFeatures &features, string &fileSystemName, DokanNet.DokanFileInfo info ) : NtStatus
volumeLabel string
features FileSystemFeatures
fileSystemName string
info DokanNet.DokanFileInfo
return NtStatus

LockFile() public method

public LockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
offset long
length long
info DokanNet.DokanFileInfo
return NtStatus

MoveFile() public method

public MoveFile ( string oldName, string newName, bool replace, DokanNet.DokanFileInfo info ) : NtStatus
oldName string
newName string
replace bool
info DokanNet.DokanFileInfo
return NtStatus

OpenDirectory() public method

public OpenDirectory ( string fileName, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
info DokanNet.DokanFileInfo
return NtStatus

Operations() public method

public Operations ( string TarFile ) : System
TarFile string
return System

ReadFile() public method

public ReadFile ( string fileName, byte buffer, int &bytesRead, long offset, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
buffer byte
bytesRead int
offset long
info DokanNet.DokanFileInfo
return NtStatus

SetAllocationSize() public method

public SetAllocationSize ( string fileName, long length, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
length long
info DokanNet.DokanFileInfo
return NtStatus

SetEndOfFile() public method

public SetEndOfFile ( string fileName, long length, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
length long
info DokanNet.DokanFileInfo
return NtStatus

SetFileAttributes() public method

public SetFileAttributes ( string fileName, FileAttributes attributes, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
attributes FileAttributes
info DokanNet.DokanFileInfo
return NtStatus

SetFileSecurity() public method

public SetFileSecurity ( string fileName, FileSystemSecurity security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
security System.Security.AccessControl.FileSystemSecurity
sections AccessControlSections
info DokanNet.DokanFileInfo
return NtStatus

SetFileTime() public method

public SetFileTime ( string fileName, System.DateTime creationTime, System.DateTime lastAccessTime, System.DateTime lastWriteTime, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
creationTime System.DateTime
lastAccessTime System.DateTime
lastWriteTime System.DateTime
info DokanNet.DokanFileInfo
return NtStatus

UnlockFile() public method

public UnlockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
offset long
length long
info DokanNet.DokanFileInfo
return NtStatus

Unmount() public method

public Unmount ( DokanNet.DokanFileInfo info ) : NtStatus
info DokanNet.DokanFileInfo
return NtStatus

WriteFile() public method

public WriteFile ( string fileName, byte buffer, int &bytesWritten, long offset, DokanNet.DokanFileInfo info ) : NtStatus
fileName string
buffer byte
bytesWritten int
offset long
info DokanNet.DokanFileInfo
return NtStatus