diff --git a/src/dotnet/FileSystemBase.cs b/src/dotnet/FileSystemBase.cs index afe944ce..24ae8432 100644 --- a/src/dotnet/FileSystemBase.cs +++ b/src/dotnet/FileSystemBase.cs @@ -453,7 +453,7 @@ namespace Fsp public static UInt32 GetReparseTag( Byte[] ReparseData) { - return Api.GetReparseTag(ReparseData); + return BitConverter.ToUInt32(ReparseData, 0); } public static Int32 CanReplaceReparsePoint( Byte[] CurrentReparseData, diff --git a/src/dotnet/Interop.cs b/src/dotnet/Interop.cs index be1874ac..33f62e80 100644 --- a/src/dotnet/Interop.cs +++ b/src/dotnet/Interop.cs @@ -849,11 +849,6 @@ namespace Fsp.Interop else return null; } - internal unsafe static UInt32 GetReparseTag( - Byte[] ReparseData) - { - return 0; - } internal unsafe static Int32 FspFileSystemCanReplaceReparsePoint( Byte[] CurrentReparseData, Byte[] ReplaceReparseData)