🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9692

CD Tray

#9692
From: Simon Macneall
Date: Thu, 17 Jun 2004 03:54
13 lines
1236 bytes
Hi all,

We are building a DVD player and are putting an eject button on it. Now, I  
can make the CD/DVD tray open and close, but I can't tell which one to do,  
ie, I don't know if it is currently open (and thus I should call close) or  
if it is currently closed (so I should call open). Anyone have any  
suggestions?

Thanks
Simon


ps - I am using MCI to do the opening/closing, is this the best way?
Technical Details
Message-ID: <opr9pzs4ic2nqexn@lightyear>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d2e307fb824306b9,start
X-Google-Attributes: gid10cc67,public
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: CD Tray
Date: Thu, 17 Jun 2004 11:54:30 +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
Message-ID: <opr9pzs4ic2nqexn@lightyear>
User-Agent: Opera M2/7.51 (Win32, build 3798)
NNTP-Posting-Host: 203.153.243.50
X-Trace: newsgroups.borland.com 1087444264 203.153.243.50 (16 Jun 2004 20:51:04 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail