Date: Thu, 26 Sep 1996 16:52:59 +0200 (IST) From: Eli Zaretskii To: Mark Habersack Cc: Charles Sandmann , cmatraki AT eleceng DOT ucl DOT ac DOT uk, djgpp-workers AT delorie DOT com Subject: Re: `_flush_disk_cache' In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 26 Sep 1996, Mark Habersack wrote: > NT and OS/2 are in general pain in the neck. Under both environments some > interrupts are supported only partialy (the same adhers to DOS emulation). The > solution to make software work smoothly under these would be to use > OS-specific calls (like VxD exported entries in NT, I don't know anything > about OS/2). In NT there are, undoubtedly, exported VxD calls visible from DOS > sub-system that allow doing this kind of things. I think, however, that under > NT the Smartdrive call to flush the cache should be supported (well, it seems > logical to me - somebody has to confirm it) I don't call the SmartDrive function at all, only Int 13h, function 0 (reset disk) for DOS and a Windows95-specific function that flushes the cache. Int 13h seems to be a popular enough service to be supported even on NT. But if it isn't, I'd sure like to know how to call those VxDs that cause the cache to flush on NT.