Is there a way to bypass SHARING errors ?


is there a way for a device driver to make sure that when it tries to open
a file which is being used by an application, that this file is really
opened without the risk of SHARING_VIOLATIONs ?

I’ve tried opening the file using the OPEN_FOR_BACKUP_INTENT flag in the
call to ZwCreateFile, but that doesn’t help much.

With kind regards,

Bartjan Wattel