Maybe I’m late to this party, but I’m just starting to explore what WMI
could do for me and my drivers.
I have delivered a couple of filter driver solutions that used the
“control device object” concept to allow control panel-like access to
the filters. This works, and it’s easy to use from the user-mode side,
but it’s not very clean, and the bookkeeping is somewhat awkward, since
there is a 1-to-many relationship.
It appears that virtually all of what I need could be exposed through
WMI instead. As I see it, this looks to be a much cleaner solution, and
actually takes a bit less code in the driver, although it seems to take
a LOT more code in the user-mode app (in C, anyway; it’s easy from a
managed app). It also allows me to use standard WMI browsers to play
with things.
What’s your experience? Is WMI support worth the trouble?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.