C# Class Dokan.Proxy

Datei anzeigen Open project: soywiz/csharputils

Public Methods

Method 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

Method 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 method

public CleanupProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

CloseFileProxy() public method

public CloseFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

CreateDirectoryProxy() public method

public CreateDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

CreateFileProxy() public method

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
return int

DeleteDirectoryProxy() public method

public DeleteDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

DeleteFileProxy() public method

public DeleteFileProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

FindFilesProxy() public method

public FindFilesProxy ( IntPtr rawFileName, IntPtr rawFillFindData, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFillFindData System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

FlushFileBuffersProxy() public method

public FlushFileBuffersProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

GetDiskFreeSpaceProxy() public method

public GetDiskFreeSpaceProxy ( ulong &rawFreeBytesAvailable, ulong &rawTotalNumberOfBytes, ulong &rawTotalNumberOfFreeBytes, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFreeBytesAvailable ulong
rawTotalNumberOfBytes ulong
rawTotalNumberOfFreeBytes ulong
rawFileInfo DOKAN_FILE_INFO
return int

GetFileInformationProxy() public method

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
return int

GetFileSecurity() public method

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
return int

GetVolumeInformationProxy() public method

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
return int

LockFileProxy() public method

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

MoveFileProxy() public method

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
return int

OpenDirectoryProxy() public method

public OpenDirectoryProxy ( IntPtr rawFileName, DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileName System.IntPtr
rawFileInfo DOKAN_FILE_INFO
return int

Proxy() public method

public Proxy ( DokanOptions options, DokanOperations operations ) : System
options DokanOptions
operations DokanOperations
return System

ReadFileProxy() public method

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
return int

SetAllocationSizeProxy() public method

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

SetEndOfFileProxy() public method

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

SetFileAttributesProxy() public method

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

SetFileSecurity() public method

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
return int

SetFileTimeProxy() public method

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
return int

UnlockFileProxy() public method

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

UnmountProxy() public method

public UnmountProxy ( DOKAN_FILE_INFO &rawFileInfo ) : int
rawFileInfo DOKAN_FILE_INFO
return int

WriteFileProxy() public method

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
return int