I want to lock logical volume (int 21h, func 440Dh, Minor Code 4Ah) because my program does absolute writes to the disk. I am using a FAT32 drive and OEM Service Release 2. It seems that the IOCTL functions (int 21h, 440Dh) return 1
(function invalid) in MS-DOS mode, but work in Windows mode. So how does one lock a drive in software in MS-DOS mode ?
Am I missing something in Config.Sys or Autoexec.bat?
( COMMAND.COM handles it when you type "LOCK" at command prompt, so it can be done!)
Thanks in advance,