Major refactoring: WIP

This commit is contained in:
Bill Zissimopoulos 2015-12-22 16:41:12 -08:00
parent 63a1227b57
commit d2f1b42df5

View File

@ -161,6 +161,10 @@ NTSTATUS FspVolumeGetName(
{ {
PAGED_CODE(); PAGED_CODE();
ASSERT(IRP_MJ_FILE_SYSTEM_CONTROL == IrpSp->MajorFunction);
ASSERT(IRP_MN_USER_FS_REQUEST == IrpSp->MinorFunction);
ASSERT(FSP_FSCTL_VOLUME_NAME == IrpSp->Parameters.FileSystemControl.FsControlCode);
/* check parameters */ /* check parameters */
ULONG OutputBufferLength = IrpSp->Parameters.FileSystemControl.OutputBufferLength; ULONG OutputBufferLength = IrpSp->Parameters.FileSystemControl.OutputBufferLength;
PVOID SystemBuffer = Irp->AssociatedIrp.SystemBuffer; PVOID SystemBuffer = Irp->AssociatedIrp.SystemBuffer;