I hook IRP_MJ_CREATE in file system filter driver. I want open file that
processing. I use shadow device to make file path for this file. And I
receive STATUS_SHARING_VIOLATION error for file that system attempt open
whith exclusive access. How I must open such files ?
Are you opening before or after you send down the create IRP to the
lower driver? If after, you of course may be conflicting with the
desired access and sharing flags on the create you sent down.
igor wrote:
I hook IRP_MJ_CREATE in file system filter driver. I want open file that
processing. I use shadow device to make file path for this file. And I
receive STATUS_SHARING_VIOLATION error for file that system attempt open
whith exclusive access. How I must open such files ?
–
Nick Ryan (MVP for DDK)