🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CD/DVD writer activity

#1342
From: Remy Lebeau (TeamB)
Date: Thu, 20 Sep 2007 09:35
24 lines
1756 bytes
"Patryk B." <pbobak@no.spam.o2.pl> wrote in message
news:op.tyx1c8h0wzezly@dune.intranet...

> Somebody ask me, can I write program that check how
> many CD was burn using CD/DVD writer.

That kind of information is not available anywhere.  Burners do not keep
track of how many discs they burn over time.

> Is there any winapi function that can give that kind of information?

You have to communicate with the burner hardware directly.

> Is there any way to get status?

The current status, yes.  You would have to send the appropriate SCSI
commands to the hardware.  Go to http://www.t10.org and download the latest
MMC (Multimedia Commands) specification.  And then use the Win32 API
DeviceIoControl() function to send commands to the hardware using SPTI (SCSI
PassThrough Interface) I/O controls.


Gambit
Technical Details
Message-ID: <46f23f54$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <op.tyx1c8h0wzezly@dune.intranet>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2a2898b80f525800
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <op.tyx1c8h0wzezly@dune.intranet>
Subject: Re: CD/DVD writer activity
Date: Thu, 20 Sep 2007 02:35:42 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <46f23f54$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190281044 75.83.29.61 (20 Sep 2007 02:37:24 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail