sys: FspIopCompleteIrpEx: handle SRV2 query directory completion

This commit is contained in:
Bill Zissimopoulos
2016-10-28 16:33:54 -07:00
parent 096e5b7eb1
commit 9bcd8dcb8e
2 changed files with 52 additions and 1 deletions

View File

@ -17,6 +17,15 @@
#include <sys/driver.h>
/*
* NOTE:
*
* FspIopCompleteIrpEx does some special processing for IRP_MJ_DIRECTORY_CONTROL /
* IRP_MN_QUERY_DIRECTORY IRP's that come from SRV2. If the processing of this IRP
* changes substantially (in particular if we eliminate our use of
* Irp->AssociatedIrp.SystemBuffer) we should also revisit FspIopCompleteIrpEx.
*/
static NTSTATUS FspFsvolQueryDirectoryCopy(
PUNICODE_STRING DirectoryPattern, BOOLEAN CaseInsensitive,
UINT64 DirectoryOffset, PUINT64 PDirectoryOffset,