mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
sys: dirctl: support directory marker as FUSE style next offset
This commit is contained in:
parent
c7fc728ad0
commit
4b5478e50c
@ -293,6 +293,7 @@ static NTSTATUS FspFsvolQueryDirectoryCopy(
|
|||||||
{
|
{
|
||||||
DirectoryMarkerOut->Length = DirectoryMarkerOut->MaximumLength = sizeof(UINT64);
|
DirectoryMarkerOut->Length = DirectoryMarkerOut->MaximumLength = sizeof(UINT64);
|
||||||
DirectoryMarkerOut->Buffer = (PVOID)DirectoryMarkerAsNextOffset;
|
DirectoryMarkerOut->Buffer = (PVOID)DirectoryMarkerAsNextOffset;
|
||||||
|
*DirectoryMarkerAsNextOffset = DirectoryNextOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
DestBuf = (PVOID)((PUINT8)DestBuf +
|
DestBuf = (PVOID)((PUINT8)DestBuf +
|
||||||
@ -310,6 +311,7 @@ static NTSTATUS FspFsvolQueryDirectoryCopy(
|
|||||||
{
|
{
|
||||||
DirectoryMarkerOut->Length = DirectoryMarkerOut->MaximumLength = sizeof(UINT64);
|
DirectoryMarkerOut->Length = DirectoryMarkerOut->MaximumLength = sizeof(UINT64);
|
||||||
DirectoryMarkerOut->Buffer = (PVOID)DirectoryMarkerAsNextOffset;
|
DirectoryMarkerOut->Buffer = (PVOID)DirectoryMarkerAsNextOffset;
|
||||||
|
*DirectoryMarkerAsNextOffset = DirectoryNextOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user