Hello everybody
i want to build irp_mj_directory_control in my file system filter
driver which is attached to two drives c: and d: .
i want that whenever i get irp_mj_directory_control for c: i will
build irp_mj_directory_control for d: in the completion routine of
irp_mj_directory_control of c: . so that i can modify and append
the directory info of d: to the directory info of c: .
since irp_mj_directory_control requires a fileobject. i am thinking
of issuing a zwcreatefile function to d: in the completion routine(for
irp_mj_directory_control) of c:. And then in irp_mj_create routine
for d: i am thinking of building irp_mj_directory_control to get the
required directory info of d:
Is this the correct approach . Or is their any other way to achieve this.
waiting for reply.
thanking in advance