Hello,
I’m working on a file system filter and I intercept FSCTL_UNLOCK_VOLUME in IRP_MJ_FILE_SYSTEM_CONTROL. Is there any way to extract the name of the volume on which the unlocking operation takes place? I’ve tried ObQueryNameString for the DEVICE_OBJECT and FILE_OBJECT in the IO_STACK_LOCATION structure and it wouldn’t work.
Thanks.