Article View: borland.public.cppbuilder.nativeapi
Article #14588Re: Unmount drive on Win9x (Int 21h API ???)
From: Helmut Giese
Date: Fri, 08 Aug 2003 09:00
Date: Fri, 08 Aug 2003 09:00
35 lines
2046 bytes
2046 bytes
On Thu, 7 Aug 2003 15:23:36 -0700, "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> wrote: > >"Helmut Giese" <hgiese@ratiosoft.com> wrote in message >news:3f32b61b.5680168@forums.borland.com... > >> I found a (broken) link to using some old Int 21h functions instead. > >What was the link exactly? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/hardware/devio_89ph.asp (all on one line) > >> - how to access this Int 21h interface > >Use DeviceIoControl() as well. The trick is, however, that you cannot open >the hardware device directly like you can under NT/2K/XP, so you have to >access it indirectly using the VWIN32.VXD driver under Win9x/Me instead: > > Calling DeviceIoControl on Windows Me/98/95 > >http://msdn.microsoft.com/library/en-us/devio/base/calling_deviceiocontrol_o >n_windows_95_98_me.asp > >> - (more specifically) on unmounting a device ? > > Int 21h Function 440Dh Minor Code 49h > Ejects the specified media. > http://msdn.microsoft.com/library/en-us/win9x/fat32_7n3k.asp > >You can find all of the Int21h controls here: > > http://msdn.microsoft.com/library/en-us/win9x/fat32_70z4.asp Thanks for the pointers Helmut Giese
Technical Details
Message-ID:
<3f33665e.1129089@forums.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f32b61b.5680168@forums.borland.com> <3f32cfe9@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8122e234edf6f96b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-08 02:06:34 PST From: hgiese@ratiosoft.com (Helmut Giese) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Unmount drive on Win9x (Int 21h API ???) Date: Fri, 08 Aug 2003 09:00:56 GMT Message-ID: <3f33665e.1129089@forums.borland.com> References: <3f32b61b.5680168@forums.borland.com> <3f32cfe9@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 80.136.139.109 X-Trace: newsgroups.borland.com 1060333197 80.136.139.109 (8 Aug 2003 01:59:57 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail