mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
Changes following PR remarks
This commit is contained in:
parent
fb8cb8aca9
commit
a7424c911b
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,6 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
*.db
|
|
||||||
*.opendb
|
|
6
build/VStudio/.gitignore
vendored
6
build/VStudio/.gitignore
vendored
@ -1,6 +0,0 @@
|
|||||||
build
|
|
||||||
*.ncb
|
|
||||||
*.suo
|
|
||||||
*.vcproj.*
|
|
||||||
*.vcxproj.user
|
|
||||||
*.csproj.user
|
|
@ -353,10 +353,10 @@ namespace Fsp
|
|||||||
return Api.SetDebugLogFile(FileName);
|
return Api.SetDebugLogFile(FileName);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return the installed version for WinFSP
|
/// Return the installed version of WinFsp.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static Version GetFspVersion()
|
public static Version Version()
|
||||||
{
|
{
|
||||||
return Api.GetFspVersion();
|
return Api.GetFspVersion();
|
||||||
}
|
}
|
||||||
|
@ -955,9 +955,9 @@ namespace Fsp.Interop
|
|||||||
{
|
{
|
||||||
fixed (Byte *C = CurrentReparseData)
|
fixed (Byte *C = CurrentReparseData)
|
||||||
fixed (Byte *R = ReplaceReparseData)
|
fixed (Byte *R = ReplaceReparseData)
|
||||||
return _FspFileSystemCanReplaceReparsePoint(
|
return _FspFileSystemCanReplaceReparsePoint(
|
||||||
(IntPtr)C, (UIntPtr)CurrentReparseData.Length,
|
(IntPtr)C, (UIntPtr)CurrentReparseData.Length,
|
||||||
(IntPtr)R, (UIntPtr)ReplaceReparseData.Length);
|
(IntPtr)R, (UIntPtr)ReplaceReparseData.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static Int32 SetDebugLogFile(String FileName)
|
internal static Int32 SetDebugLogFile(String FileName)
|
||||||
@ -982,11 +982,9 @@ namespace Fsp.Interop
|
|||||||
|
|
||||||
internal static Version GetFspVersion()
|
internal static Version GetFspVersion()
|
||||||
{
|
{
|
||||||
UInt32 Version = 0, VersionMajor, VersionMinor;
|
UInt32 Version = 0;
|
||||||
FspVersion(out Version);
|
FspVersion(out Version);
|
||||||
VersionMajor = Version >> 16;
|
return new System.Version((Int32)Version >> 16, (Int32)Version & 0xFFFF);
|
||||||
VersionMinor = Version & 0xFFFF;
|
|
||||||
return new System.Version((Int32)VersionMajor, (Int32)VersionMinor);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* initialization */
|
/* initialization */
|
||||||
|
@ -255,7 +255,6 @@ namespace memfs
|
|||||||
Host.NamedStreams = true;
|
Host.NamedStreams = true;
|
||||||
Host.PostCleanupWhenModifiedOnly = true;
|
Host.PostCleanupWhenModifiedOnly = true;
|
||||||
Host.PassQueryDirectoryFileName = true;
|
Host.PassQueryDirectoryFileName = true;
|
||||||
Host.FlushAndPurgeOnCleanup = true;
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user