C# Class DeviceIOControlLib.Wrapper.UsnDeviceWrapper

Inheritance: DeviceIoWrapperBase
ファイルを表示 Open project: LordMike/DeviceIOControlLib Class Usage Examples

Public Methods

Method Description
FileSystemEnumUsnData ( ) : IUSN_RECORD[]

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364563(v=vs.85).aspx

FileSystemQueryUsnJournal ( ) : USN_JOURNAL_DATA_V0

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364583(v=vs.85).aspx

FileSystemReadUsnJournal ( UsnJournalReasonMask reasonMask, USN firstUsn, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx

FileSystemReadUsnJournal ( UsnJournalReasonMask reasonMask, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx

FileSystemReadUsnJournal ( long volumeJournalId, UsnJournalReasonMask reasonMask, USN firstUsn, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx

FileSystemReadUsnJournal ( long volumeJournalId, UsnJournalReasonMask reasonMask, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx

UsnDeviceWrapper ( SafeFileHandle handle, bool ownsHandle = false ) : System

Private Methods

Method Description
ParseUsnRecord ( UnmanagedMemory mem, int dataOffset, int &length ) : IUSN_RECORD

Method Details

FileSystemEnumUsnData() public method

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364563(v=vs.85).aspx
public FileSystemEnumUsnData ( ) : IUSN_RECORD[]
return IUSN_RECORD[]

FileSystemQueryUsnJournal() public method

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364583(v=vs.85).aspx
public FileSystemQueryUsnJournal ( ) : USN_JOURNAL_DATA_V0
return DeviceIOControlLib.Objects.Usn.USN_JOURNAL_DATA_V0

FileSystemReadUsnJournal() public method

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx
public FileSystemReadUsnJournal ( UsnJournalReasonMask reasonMask, USN firstUsn, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]
reasonMask UsnJournalReasonMask
firstUsn DeviceIOControlLib.Objects.Usn.USN
bytesToWaitFor int
timeout int
return IUSN_RECORD[]

FileSystemReadUsnJournal() public method

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx
public FileSystemReadUsnJournal ( UsnJournalReasonMask reasonMask, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]
reasonMask UsnJournalReasonMask
bytesToWaitFor int
timeout int
return IUSN_RECORD[]

FileSystemReadUsnJournal() public method

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx
public FileSystemReadUsnJournal ( long volumeJournalId, UsnJournalReasonMask reasonMask, USN firstUsn, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]
volumeJournalId long
reasonMask UsnJournalReasonMask
firstUsn DeviceIOControlLib.Objects.Usn.USN
bytesToWaitFor int
timeout int
return IUSN_RECORD[]

FileSystemReadUsnJournal() public method

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364586(v=vs.85).aspx
public FileSystemReadUsnJournal ( long volumeJournalId, UsnJournalReasonMask reasonMask, int bytesToWaitFor, int timeout ) : IUSN_RECORD[]
volumeJournalId long
reasonMask UsnJournalReasonMask
bytesToWaitFor int
timeout int
return IUSN_RECORD[]

UsnDeviceWrapper() public method

public UsnDeviceWrapper ( SafeFileHandle handle, bool ownsHandle = false ) : System
handle Microsoft.Win32.SafeHandles.SafeFileHandle
ownsHandle bool
return System