mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-26 20:42:50 -05:00
sys: dirctl: support directory marker as FUSE style next offset
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user