Article View: borland.public.cppbuilder.nativeapi
Article #9635Re: How to determine that CD-drive is empty?
From: Simon Macneall
Date: Fri, 25 Jun 2004 06:39
Date: Fri, 25 Jun 2004 06:39
18 lines
1768 bytes
1768 bytes
On 24 Jun 2004 23:16:49 -0700, JD <nospam@nospam.com> wrote: > > "Simon Macneall" <macneall@iinet-dot-net-dot-au> wrote: >> [...] The trouble I have is telling the difference between >> open and closed with no disc. > > Look here: > > http://newsgroups.borland.com/cgi-bin/dnewsweb?cmd=article&group=borland.public.cppbuilder.nativeapi&item=12683&utag= > none of which works correctly. As far as I can tell mpOpen is whether the media is open, not the drawer. and closing the drawer and waiting for it to spin up and checking a file is not a very nice solution either. There must be a way of doing it, as WinDVD does it all correctly. Simon
Technical Details
Message-ID:
<opr940rkqc2nqexn@lightyear>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40da83a0$1@newsgroups.borland.com> <40dab6f4$1@newsgroups.borland.com> <40dabd59$1@newsgroups.borland.com> <opr94ibay12nqexn@lightyear> <opr94juib12nqexn@lightyear> <40dbc351$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d00920f15dfe8a59 X-Google-Attributes: gid10cc67,public Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to determine that CD-drive is empty? References: <40da83a0$1@newsgroups.borland.com> <40dab6f4$1@newsgroups.borland.com> <40dabd59$1@newsgroups.borland.com> <opr94ibay12nqexn@lightyear> <opr94juib12nqexn@lightyear> <40dbc351$1@newsgroups.borland.com> Message-ID: <opr940rkqc2nqexn@lightyear> Date: Fri, 25 Jun 2004 14:39:10 +0800 From: "Simon Macneall" <macneall@iinet-dot-net-dot-au> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit User-Agent: Opera M2/7.51 (Win32, build 3798) NNTP-Posting-Host: 203.153.243.50 X-Trace: newsgroups.borland.com 1088145331 203.153.243.50 (24 Jun 2004 23:35:31 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail