🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.multimedia
Article #19

Re: Can I control DirectCD from my own app to Eject, Format, etc?

#19
From: Mike Richter
Date: Mon, 11 Oct 1999 00:00
25 lines
2211 bytes

Mikhail A wrote:
> 
> i am not sure but...
> for eject:
> ShellExecute(0, "Eject", "E:\", NULL, NULL, ... )
> anyway, just do ShellExecute on CD drive with EJECT verb... if explorer
> can do it, let him do it :)

While the original questioner expressed disdain about the need to
understand UDF for his application, it may be relevant to you. Ejecting
a packet disc is not the equivalent of ejecting a conventional CD-ROM.
Depending on the format, the process may begin with organizing and
writing data from RAM and may include intercepting the command for the
opportunity to finalize the disc or the session.

The shell command may do the job, depending on the way that commands to
the drive are intercepted by the UDF modifications to the filesystem.

Mike

mrichter@cpl.net
http://mrichter.simplenet.com
CD-R http://resource.simplenet.com
Technical Details
Message-ID: <3802439F.A0575F72@cpl.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37fd1a46.64502199@news.ozemail.com.au> <38019CCB.C7AF953B@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 115960,e067a10239e136a2
X-Google-Attributes: gid115960,public
X-Google-Thread: 105837,e067a10239e136a2
X-Google-Attributes: gid105837,public
X-Google-Thread: 1024b8,e067a10239e136a2
X-Google-Attributes: gid1024b8,public
X-Google-Thread: 10f3c1,e067a10239e136a2
X-Google-Attributes: gid10f3c1,public
X-Google-Thread: f67e5,e067a10239e136a2
X-Google-Attributes: gidf67e5,public
X-Google-Thread: 105df1,e067a10239e136a2
X-Google-Attributes: gid105df1,public
X-Google-Thread: 1157a2,e067a10239e136a2
X-Google-Attributes: gid1157a2,public
From: Mike Richter <mrichter@cpl.net>
Subject: Re: Can I control DirectCD from my own app to Eject, Format, etc?
Date: 1999/10/11
Message-ID: <3802439F.A0575F72@cpl.net>
X-Deja-AN: 535517576
Content-Transfer-Encoding: 7bit
References: <37fd1a46.64502199@news.ozemail.com.au> <38019CCB.C7AF953B@hotmail.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@supernews.com
Organization: Posted via Supernews, http://www.supernews.com
MIME-Version: 1.0
Newsgroups: comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.misc,microsoft.public.win32.programmer.mmedia,alt.comp.periphs.cdr,comp.publish.cdrom.multimedia,comp.publish.cdrom.software,creative.products.cdrw