mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
src: dotnet: FileSystemBase: GetStreamInfo: bug fix
This commit is contained in:
parent
bd7546559c
commit
1ee95be5d7
@ -329,11 +329,10 @@ namespace Fsp
|
|||||||
{
|
{
|
||||||
Object Context = null;
|
Object Context = null;
|
||||||
String StreamName;
|
String StreamName;
|
||||||
UInt64 StreamSize, StreamAllocationSize;
|
|
||||||
StreamInfo StreamInfo = default(StreamInfo);
|
StreamInfo StreamInfo = default(StreamInfo);
|
||||||
BytesTransferred = default(UInt32);
|
BytesTransferred = default(UInt32);
|
||||||
while (GetStreamEntry(FileNode, FileDesc,
|
while (GetStreamEntry(FileNode, FileDesc, ref Context,
|
||||||
ref Context, out StreamName, out StreamSize, out StreamAllocationSize))
|
out StreamName, out StreamInfo.StreamSize, out StreamInfo.StreamAllocationSize))
|
||||||
{
|
{
|
||||||
StreamInfo.SetStreamNameBuf(StreamName);
|
StreamInfo.SetStreamNameBuf(StreamName);
|
||||||
if (!Api.FspFileSystemAddStreamInfo(ref StreamInfo, Buffer, Length,
|
if (!Api.FspFileSystemAddStreamInfo(ref StreamInfo, Buffer, Length,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user