Peter
Fri Jan 14 09:47:48 CST 2005
i think the adapter status is communicated through WMI, but that's sort of
an educated guess.
One typical way to have an unkillable process you have the process spawn a
copy of itself. When the user kills the child through the UI they just kill
the child process - the parent can detect this and spawn a new copy of the
child. Of course when there's a bug in the child this is really really
really annoying since the user is just spammed with error reporting popups.
-p
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"BigFish" <BigFish@newsgroup.nospam> wrote in message
news:e%23nc8zk%23EHA.1400@TK2MSFTNGP11.phx.gbl...
> This is exactly my goal - and if the user kills the user proc I want to be
> able to restart it - if the user notification appears the user must take
> some action, if they try to kill the notification, they should be
> presented
> with the notification again until they enter some enabling info (i.e. a
> password)
> Speaking of the adapter tray status, do you know how it gets notified of
> connect / disconnect state ?? I have been trying to figure that out for
> some
> time...
> Thanks for the good advice.
> SWheeler
>
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:OlbFGWa%23EHA.3368@TK2MSFTNGP10.phx.gbl...
>> Usually even a service is overkill.
>>
>> In most such situations, the only goal of user process is to spit
>> some
>> popup under some conditions. For this, a tiny "notify.exe" app started by
>> Shell's Run key is fine.
>>
>> BTW - the network adapter status tray icon works in a very similar
>> way
>> (though with SP2 they moved to use WZC).
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>>
http://www.storagecraft.com
>>
>> "Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
>> news:CFEF8F96-7C0F-4BE0-9C78-48F135D1F996@microsoft.com...
>> > "swheeler" wrote:
>> > > Greetings -
>> > > I want to kick off a user process from my kernel driver; what's the
> best
>> way
>> > > to do this ? Can I simply use createprocess ?
>> >
>> > Make a usermode service and add it to dependencies of your driver's
> service.
>> > When your driver starts, the usermode service will start as well.
>> >
>> > --PA
>>
>>
>
>