Hi
Is there any way to get a notification in a file system filter if a
user changes a drive letter of a drive using
“Computer management–>Disk Management” ?
Thanks
Hi
Is there any way to get a notification in a file system filter if a
user changes a drive letter of a drive using
“Computer management–>Disk Management” ?
Thanks
Yes, they can register on the volume handle with PNP and receive drive letter arrivals and removals.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no Rights
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Omer B
Sent: Sunday, November 06, 2005 12:55 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Notification about drive letter change from DiskManagment
Hi
?
Is there any way to get a notification in a file system filter? if a
user changes a drive letter of a drive using
“Computer management–>Disk Management”? ?
?
Thanks
— Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com
How do you register on a volume handle with *IoRegisterPlugPlayNotification()
??*
On 11/7/05, Neal Christiansen wrote:
>
> Yes, they can register on the volume handle with PNP and receive drive
> letter arrivals and removals.
>
> Neal Christiansen
> Microsoft File System Filter Group Lead
> This posting is provided “AS IS” with no warranties, and confers no Rights
> ________________________________________
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of Omer B
> Sent: Sunday, November 06, 2005 12:55 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Notification about drive letter change from DiskManagment
>
> Hi
>
> Is there any way to get a notification in a file system filter if a
> user changes a drive letter of a drive using
> “Computer management–>Disk Management” ?
>
> Thanks
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
How do you register on a volume handle with *IoRegisterPlugPlayNotification()
??*
On 11/7/05, Neal Christiansen wrote:
>
> Yes, they can register on the volume handle with PNP and receive drive
> letter arrivals and removals.
>
> Neal Christiansen
> Microsoft File System Filter Group Lead
> This posting is provided “AS IS” with no warranties, and confers no Rights
> ________________________________________
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of Omer B
> Sent: Sunday, November 06, 2005 12:55 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Notification about drive letter change from DiskManagment
>
> Hi
>
> Is there any way to get a notification in a file system filter if a
> user changes a drive letter of a drive using
> “Computer management–>Disk Management” ?
>
> Thanks
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Omer,
You would call
IoRegisterPlugPlayNotification(EventCategoryTargetDeviceChange); and
pass in the volume object for the third parameter. Then you should get
all the custom event notifications for that volume. Look for
GUID_IO_VOLUME_NAME_CHANGE to detect drive letter changes. When the
((PPLUGPLAY_NOTIFICATION_HEADER)NotificationStructure)->Event GUID is a
custom GUID, the NotificationStructure the callback received is actually
a TARGET_DEVICE_CUSTOM_NOTIFICATION structure, and the FileObject field
contains the file object the caller passed in to the corresponding call
to IoRegisterPlugPlayNotification (the third parameter mentioned).
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
Rights
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Omer B
Sent: Wednesday, November 09, 2005 1:08 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Notification about drive letter change from
DiskManagment
How do you register on a volume handle with
IoRegisterPlugPlayNotification() ??
On 11/7/05, Neal Christiansen wrote:
Yes, they can register on the volume handle with PNP and receive drive
letter arrivals and removals.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
Rights
________________________________________
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Omer B
Sent: Sunday, November 06, 2005 12:55 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Notification about drive letter change from
DiskManagment
Hi
Is there any way to get a notification in a file system filter if a
user changes a drive letter of a drive using
“Computer management–>Disk Management” ?
Thanks
— Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: unknown lmsubst tag argument: ‘’ To unsubscribe send a
blank email to xxxxx@lists.osr.com
mailto:xxxxx
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
mailto:xxxxx
— Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: unknown lmsubst tag argument: ‘’ To unsubscribe send a
blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>