Hello.
I'm looking for a suggestion how can I attach to specified driver stack with my own driver (I want to make filter driver) just after it has been loaded. (I mean here that driver I want to attach to is loaded dynamically in system so I don't really know when it is loaded).
I've tried to use PsSetLoadImageNotifyRoutine callback to track this moment, but it seems that it too early - and when I'm calling IoAttachDevice() IO manager returns specified device not found (c0000034) as I understand it is because driverEntry routine has not been called yet.
Can you tell me how could I achieve this? Or maybe I'm doing something wrong.
I would like to aviod any illegal solutions.
Thank you for joining to discussion.
madaboo
I'm looking for a suggestion how can I attach to specified driver stack with my own driver (I want to make filter driver) just after it has been loaded. (I mean here that driver I want to attach to is loaded dynamically in system so I don't really know when it is loaded).
I've tried to use PsSetLoadImageNotifyRoutine callback to track this moment, but it seems that it too early - and when I'm calling IoAttachDevice() IO manager returns specified device not found (c0000034) as I understand it is because driverEntry routine has not been called yet.
Can you tell me how could I achieve this? Or maybe I'm doing something wrong.
I would like to aviod any illegal solutions.
Thank you for joining to discussion.
madaboo