dotnet: bug fixes

This commit is contained in:
Bill Zissimopoulos
2017-05-06 17:01:55 -07:00
parent 0bca8f851c
commit 31519ba416
3 changed files with 21 additions and 4 deletions

View File

@ -337,8 +337,9 @@ namespace Fsp
StreamInfo.SetStreamNameBuf(StreamName);
if (!Api.FspFileSystemAddStreamInfo(ref StreamInfo, Buffer, Length,
out BytesTransferred))
break;
return STATUS_SUCCESS;
}
Api.FspFileSystemEndStreamInfo(Buffer, Length, out BytesTransferred);
return STATUS_SUCCESS;
}
public virtual Boolean GetStreamEntry(
@ -383,8 +384,9 @@ namespace Fsp
DirInfo.SetFileNameBuf(FileName);
if (!Api.FspFileSystemAddDirInfo(ref DirInfo, Buffer, Length,
out BytesTransferred))
break;
return STATUS_SUCCESS;
}
Api.FspFileSystemEndDirInfo(Buffer, Length, out BytesTransferred);
return STATUS_SUCCESS;
}
public Int32 BufferedReadDirectory(