I've written a usb device driver for my device, and the driver is working
fine. When I plug in my device, the driver gets loaded automaticly, and the
device will work just fine.
What I would like to do now is have my application automaticly started when
the device is plugged in. How do I go about doing this? Is there some
registry setting I can use to register for device notifications? Is there a
registry setting that says "Start this application" when a USB device is
plugged in? I'd rather not have my application always running, and waiting
for the device to get plugged in. If someone can point me to a suitable
example, or documentation section I would appreciate it.
Thanks.

Re: Automaticly start an application when USB device is plugged in by Amit

Amit
Wed Oct 20 00:06:48 CDT 2004

Check out CeRunAppAtEvent () register for the event
NOTIFICATION_EVENT_RS232_DETECTED.

Hope it helps..
Thanks and Regards
Amit
"Brian Franklin" <BrianFranklin@discussions.microsoft.com> wrote in message
news:08403D5E-018C-4CE1-B86A-396E1E583FEC@microsoft.com...
> I've written a usb device driver for my device, and the driver is working
> fine. When I plug in my device, the driver gets loaded automaticly, and
the
> device will work just fine.
> What I would like to do now is have my application automaticly started
when
> the device is plugged in. How do I go about doing this? Is there some
> registry setting I can use to register for device notifications? Is there
a
> registry setting that says "Start this application" when a USB device is
> plugged in? I'd rather not have my application always running, and
waiting
> for the device to get plugged in. If someone can point me to a suitable
> example, or documentation section I would appreciate it.
> Thanks.



Re: Automaticly start an application when USB device is plugged in by MrX

MrX
Fri Dec 03 01:34:07 CST 2004

Hi!
I'm just new to USB stuff, and I was wondering how did you start
with your device driver for usb. I would really appreciate any
advice.
Thank you.

Brian Franklin wrote:
> I've written a usb device driver for my device, and the driver is working
> fine. When I plug in my device, the driver gets loaded automaticly, and the
> device will work just fine.
> What I would like to do now is have my application automaticly started when
> the device is plugged in. How do I go about doing this? Is there some
> registry setting I can use to register for device notifications? Is there a
> registry setting that says "Start this application" when a USB device is
> plugged in? I'd rather not have my application always running, and waiting
> for the device to get plugged in. If someone can point me to a suitable
> example, or documentation section I would appreciate it.
> Thanks.

Re: Automaticly start an application when USB device is plugged in by Arvind

Arvind
Sat Dec 04 00:40:33 CST 2004

StartAppAtEvents API's can be used


--
"eRiva Systems" - Where Technology Meets Life, Every Minute.

arvindr@erivasystems.com

www.erivasystems.com

"MrX" <matrix@easynet.ro> wrote in message
news:uIaM7pQ2EHA.2568@TK2MSFTNGP10.phx.gbl...
> Hi!
> I'm just new to USB stuff, and I was wondering how did you start
> with your device driver for usb. I would really appreciate any
> advice.
> Thank you.
>
> Brian Franklin wrote:
> > I've written a usb device driver for my device, and the driver is
working
> > fine. When I plug in my device, the driver gets loaded automaticly, and
the
> > device will work just fine.
> > What I would like to do now is have my application automaticly started
when
> > the device is plugged in. How do I go about doing this? Is there some
> > registry setting I can use to register for device notifications? Is
there a
> > registry setting that says "Start this application" when a USB device is
> > plugged in? I'd rather not have my application always running, and
waiting
> > for the device to get plugged in. If someone can point me to a suitable
> > example, or documentation section I would appreciate it.
> > Thanks.