DokanNet.Extensions Class Reference

DokanInstance extensions allowing to check whether it is running or to wait until it is unmount. More...

Static Public Member Functions

static Boolean IsFileSystemRunning (this DokanInstance dokanInstance)
 Check if the FileSystem is still running or not. More...
 
static UInt32 WaitForFileSystemClosed (this DokanInstance dokanInstance, UInt32 milliSeconds)
 Wait until the FileSystem is unmount. More...
 

Detailed Description

DokanInstance extensions allowing to check whether it is running or to wait until it is unmount.

Member Function Documentation

static Boolean DokanNet.Extensions.IsFileSystemRunning ( this DokanInstance  dokanInstance)
inlinestatic

Check if the FileSystem is still running or not.

Parameters
dokanInstanceThe dokan mount context created by DokanInstance.DokanInstance.
Returns
Whether the FileSystem is still running or not.
static UInt32 DokanNet.Extensions.WaitForFileSystemClosed ( this DokanInstance  dokanInstance,
UInt32  milliSeconds 
)
inlinestatic

Wait until the FileSystem is unmount.

Parameters
dokanInstanceThe dokan mount context created by DokanInstance.DokanInstance.
milliSecondsThe time-out interval, in milliseconds. If a nonzero value is specified, the function waits until the object is signaled or the interval elapses. If set to zero, the function does not enter a wait state if the object is not signaled; it always returns immediately. If set to INFINITE, the function will return only when the object is signaled.
Returns
See WaitForSingleObject for a description of return values.

The documentation for this class was generated from the following file:
  • Extensions.cs