Device Change Notifications

Hi,

I am currently writing a CDROM filter driver. I am trying to get
notification of a device change (like WM_DEVICE change) so I can detect
when a CD has been loaded/ejected. Is IoRegisterPlugPlayNotification
notification the function I’m looking for and if so how exactly do I
call this for device change notifications?

Regards,
Ceri


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com


There is an event managed by the CD class driver. MediaChange%d (IIRC).
Your application or a driver can monitor this event.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ceri Coburn
Sent: Tuesday, April 29, 2003 6:28 AM
To: File Systems Developers
Subject: [ntfsd] Device Change Notifications

Hi,

I am currently writing a CDROM filter driver. I am trying to get
notification of a device change (like WM_DEVICE change) so I can detect
when a CD has been loaded/ejected. Is IoRegisterPlugPlayNotification
notification the function I’m looking for and if so how exactly do I
call this for device change notifications?

Regards,
Ceri


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

No, media changes are not tracked by PnP interface arrival
notifications.

Max

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Tuesday, April 29, 2003 5:27 PM
Subject: [ntfsd] Device Change Notifications

> Hi,
>
> I am currently writing a CDROM filter driver. I am trying to get
> notification of a device change (like WM_DEVICE change) so I can
detect
> when a CD has been loaded/ejected. Is
IoRegisterPlugPlayNotification
> notification the function I’m looking for and if so how exactly do I
> call this for device change notifications?
>
> Regards,
> Ceri
>
>
____________________________________________________________________

> This email has been scanned for all viruses by the MessageLabs
SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>
____________________________________________________________________

>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hi Max,

What would I need to do to get device change notifications from a driver
then

Ceri

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: 29 April 2003 18:41
To: File Systems Developers
Subject: [ntfsd] Re: Device Change Notifications

No, media changes are not tracked by PnP interface arrival
notifications.

Max

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Tuesday, April 29, 2003 5:27 PM
Subject: [ntfsd] Device Change Notifications

> Hi,
>
> I am currently writing a CDROM filter driver. I am trying to get
> notification of a device change (like WM_DEVICE change) so I can
detect
> when a CD has been loaded/ejected. Is
IoRegisterPlugPlayNotification
> notification the function I’m looking for and if so how exactly do I
> call this for device change notifications?
>
> Regards,
> Ceri
>
>
____________________________________________________________________

> This email has been scanned for all viruses by the MessageLabs
SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>
____________________________________________________________________

>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com

Media changes? Or device changes?

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Wednesday, April 30, 2003 11:25 AM
Subject: [ntfsd] Re: Device Change Notifications

> Hi Max,
>
> What would I need to do to get device change notifications from a
driver
> then
>
> Ceri
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: 29 April 2003 18:41
> To: File Systems Developers
> Subject: [ntfsd] Re: Device Change Notifications
>
> No, media changes are not tracked by PnP interface arrival
> notifications.
>
> Max
>
> ----- Original Message -----
> From: “Ceri Coburn”
> To: “File Systems Developers”
> Sent: Tuesday, April 29, 2003 5:27 PM
> Subject: [ntfsd] Device Change Notifications
>
>
> > Hi,
> >
> > I am currently writing a CDROM filter driver. I am trying to get
> > notification of a device change (like WM_DEVICE change) so I can
> detect
> > when a CD has been loaded/ejected. Is
> IoRegisterPlugPlayNotification
> > notification the function I’m looking for and if so how exactly do
I
> > call this for device change notifications?
> >
> > Regards,
> > Ceri
> >
> >
>
____________________________________________________________________
>

> > This email has been scanned for all viruses by the MessageLabs
> SkyScan
> > service. For more information on a proactive anti-virus service
> working
> > around the clock, around the globe, visit
http://www.messagelabs.com
> >
>
____________________________________________________________________
>

> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
____________________________________________________________________

> This email has been scanned for all viruses by the MessageLabs
SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>
____________________________________________________________________

>
>
____________________________________________________________________

> This email has been scanned for all viruses by the MessageLabs
SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>
____________________________________________________________________

>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>