Article View: borland.public.cppbuilder.nativeapi
Article #15381Re: Locking drives for exclusive access under Win32
From: Russell Hind
Date: Tue, 08 Jul 2003 16:11
Date: Tue, 08 Jul 2003 16:11
35 lines
2206 bytes
2206 bytes
These look like they are only for Win9x. Andrue asked for something other than for Win9x. I guess he means win32 on NT (4/2000/XP). You can't issue all intX instructions on these platforms (as far as I know). (int3 is allowed as this is a simulate break-point) but not sure about the others. The help specifically states these are for Win9X so I guess they aren't allowed under win32. Cheers Russell Remy Lebeau (TeamB) wrote: > > > Look at DeviceIoControl() and various Int 21h commands such as the > following: > > Int 21h Function 440Dh Minor Code 4Ah > http://msdn.microsoft.com/library/en-us/win9x/fat32_7q9c.asp > > Int 21h Function 440Dh Minor Code 4Bh > http://msdn.microsoft.com/library/en-us/win9x/fat32_7tf4.asp > > Int 21h Function 440Dh Minor Code 6Ah > http://msdn.microsoft.com/library/en-us/win9x/fat32_2n8w.asp > > Int 21h Function 440Dh Minor Code 6Bh > http://msdn.microsoft.com/library/en-us/win9x/fat32_2qeo.asp > > > Gambit > >
Technical Details
Message-ID:
<3f0aed58$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<VA.00001dd5.06dcc046@email.address.sorry> <3f0aec5a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,469af434a4899493 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-08 09:33:41 PST Date: Tue, 08 Jul 2003 17:11:49 +0100 From: Russell Hind <rhind@mac.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Locking drives for exclusive access under Win32 References: <VA.00001dd5.06dcc046@email.address.sorry> <3f0aec5a$1@newsgroups.borland.com> In-Reply-To: <3f0aec5a$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.240.15.125 Message-ID: <3f0aed58$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057680728 212.240.15.125 (8 Jul 2003 09:12:08 -0700) Lines: 36 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail