Hi All,
How to get drive type in kernel mode.
I have a file system filter driver in which I want to know whether the file
system that I attached is for a removable device or not.
Any information is helpful.
Thanks,
Kedar.
Hi All,
How to get drive type in kernel mode.
I have a file system filter driver in which I want to know whether the file
system that I attached is for a removable device or not.
Any information is helpful.
Thanks,
Kedar.
Hello Kedar,
Look to Vpb->RealDevice->Characteristics for flag FILE_REMOVABLE_MEDIA
Tuesday, March 30, 2004, 4:32:06 PM, you wrote:
Kedar> Hi All,
Kedar> How to get drive type in kernel mode.
Kedar> I have a file system filter driver in which I want to know whether the file
Kedar> system that I attached is for a removable device or not.
Kedar> Any information is helpful.
Kedar> Thanks,
Kedar> Kedar.
–
Best regards,
Oleksiy
DeviceObject->Characteristics & FILE_REMOVABLE_MEDIA
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Kedar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, March 30, 2004 6:32 PM
Subject: [ntfsd] GetDriveType in kernel
> Hi All,
>
> How to get drive type in kernel mode.
>
> I have a file system filter driver in which I want to know whether the file
> system that I attached is for a removable device or not.
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
hi,
i think this only work for floppy, cd and removable media and not removable
storage devices such as thumbdrive, microdrive, PCMCIA hard drive, usb hard
drive
esp for PCMCIA hard drive, there is no way to identify that it is a PCMCIA
hard drive.
thank you!
cheers,
vincent
From: “Maxim S. Shatskih”
>Reply-To: “Windows File Systems Devs Interest List”
>To: “Windows File Systems Devs Interest List”
>Subject: Re: [ntfsd] GetDriveType in kernel
>Date: Tue, 30 Mar 2004 19:15:59 +0400
>
> DeviceObject->Characteristics & FILE_REMOVABLE_MEDIA
>
>Maxim Shatskih, Windows DDK MVP
>StorageCraft Corporation
>xxxxx@storagecraft.com
>http://www.storagecraft.com
>
>
>----- Original Message -----
>From: “Kedar”
>Newsgroups: ntfsd
>To: “Windows File Systems Devs Interest List”
>Sent: Tuesday, March 30, 2004 6:32 PM
>Subject: [ntfsd] GetDriveType in kernel
>
>
> > Hi All,
> >
> > How to get drive type in kernel mode.
> >
> > I have a file system filter driver in which I want to know whether the
>file
> > system that I attached is for a removable device or not.
> >
> > Any information is helpful.
> >
> > Thanks,
> > Kedar.
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > 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: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage
http://join.msn.com/?pgmarket=en-sg