You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
If I want my single filter driver to be both an upper and lower class filter driver, my AddDevice routine is called twice (once for the lower filter, the second for the upper filter). What is the preferred way in my driver to know when it attaches to the device stack, that my device object is a lower class filter object or an upper class filter object? Thanks.
Maxim S. Shatskih
unread,
Oct 7, 2009, 5:41:50 PM10/7/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Addref the current top-of-stack (IoGetAttachedDeviceReference), then traverse the attachment chain from PDO up, and look at ->DriverObject values.