From: Mani on 12 Jan 2010 10:18 Hi All, Is there any way to check whether the floppy disk is write protected or not? Currently I'm writing a file in floppy disk and check the error message for write protected(ERROR_WRITE_PROTECT) Is there any other method to check the status of floppy disk Thanks, Mani
From: Don Burn on 12 Jan 2010 10:25 Look at IOCTL_DISK_IS_WRITABLE -- Don Burn (MVP, Windows DKD) Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr Remove StopSpam to reply "Mani" <plmanikandan(a)gmail.com> wrote in message news:4b268a00-e2e5-4318-959a-2ffc84983b5f(a)h9g2000yqa.googlegroups.com... > Hi All, > Is there any way to check whether the floppy disk is write protected > or not? > Currently I'm writing a file in floppy disk and check the error > message for write protected(ERROR_WRITE_PROTECT) > Is there any other method to check the status of floppy disk > > Thanks, > Mani > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4764 (20100112) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4764 (20100112) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
From: Scott Noone on 12 Jan 2010 10:29 From user mode? GetVolumeInformation will tell you if you the volume is read only (on XP and later, at least).-scott -- Scott Noone Consulting Associate OSR Open Systems Resources, Inc. http://www.osronline.com "Mani" <plmanikandan(a)gmail.com> wrote in message news:4b268a00-e2e5-4318-959a-2ffc84983b5f(a)h9g2000yqa.googlegroups.com... > Hi All, > Is there any way to check whether the floppy disk is write protected > or not? > Currently I'm writing a file in floppy disk and check the error > message for write protected(ERROR_WRITE_PROTECT) > Is there any other method to check the status of floppy disk > > Thanks, > Mani
|
Pages: 1 Prev: DPInst and DIfx usage Next: Problems with text transforms |