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);
|
||||
}
|
||||
/// <summary>
|
||||
/// Return the installed version for WinFSP
|
||||
/// Return the installed version of WinFsp.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Version GetFspVersion()
|
||||
public static Version Version()
|
||||
{
|
||||
return Api.GetFspVersion();
|
||||
}
|
||||
|
@ -982,11 +982,9 @@ namespace Fsp.Interop
|
||||
|
||||
internal static Version GetFspVersion()
|
||||
{
|
||||
UInt32 Version = 0, VersionMajor, VersionMinor;
|
||||
UInt32 Version = 0;
|
||||
FspVersion(out Version);
|
||||
VersionMajor = Version >> 16;
|
||||
VersionMinor = Version & 0xFFFF;
|
||||
return new System.Version((Int32)VersionMajor, (Int32)VersionMinor);
|
||||
return new System.Version((Int32)Version >> 16, (Int32)Version & 0xFFFF);
|
||||
}
|
||||
|
||||
/* initialization */
|
||||
|
@ -255,7 +255,6 @@ namespace memfs
|
||||
Host.NamedStreams = true;
|
||||
Host.PostCleanupWhenModifiedOnly = true;
|
||||
Host.PassQueryDirectoryFileName = true;
|
||||
Host.FlushAndPurgeOnCleanup = true;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user