BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Status of cd-rom door

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Heiko Rompel
Guest





PostPosted: Sun Sep 04, 2005 2:58 pm    Post subject: Status of cd-rom door Reply with quote



Sorry for crossposting.

Hello,

is it possible with a small function to detect the status
of the cd-rom-door?
I need the status locked/unlocked .

with google, alltheweb and vivisimo i can't find this information.

greetings
heiko




Back to top
Jamie
Guest





PostPosted: Sun Sep 04, 2005 6:48 pm    Post subject: Re: Status of cd-rom door Reply with quote



Heiko Rompel wrote:

Quote:
Sorry for crossposting.

Hello,

is it possible with a small function to detect the status
of the cd-rom-door?
I need the status locked/unlocked .

with google, alltheweb and vivisimo i can't find this information.

greetings
heiko




look at DeviceIOcontrol using this IOCTL_STORAGE_CHECK_VERIFY

to determine if there is a disk in the media.


--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5


Back to top
Heiko Rompel
Guest





PostPosted: Wed Sep 07, 2005 4:43 am    Post subject: Re: Status of cd-rom door Reply with quote



Moin, moin,

Jamie schrieb:

Quote:
look at DeviceIOcontrol using this IOCTL_STORAGE_CHECK_VERIFY
to determine if there is a disk in the media.

The only informatin a found about this, is a program that needs INDY.
I use D6 Pro und INDY 9 and some auf the components the program
need, are not in my INDY avaible.

greetings from
heiko

Back to top
Rob Kennedy
Guest





PostPosted: Wed Sep 07, 2005 6:10 am    Post subject: Re: Status of cd-rom door Reply with quote

Heiko Rompel wrote:
Quote:
Jamie schrieb:
look at DeviceIOcontrol using this IOCTL_STORAGE_CHECK_VERIFY
to determine if there is a disk in the media.

The only informatin a found about this, is a program that needs INDY.
I use D6 Pro und INDY 9 and some auf the components the program
need, are not in my INDY avaible.

Indy has absolutely nothing to do with it. DeviceIOControl is a Windows
API function. Google's first listing is for Microsoft's documentation.
Go there. Google's first listing for IOCTL_STORAGE_CHECK_VERIFY should
also be useful.

--
Rob

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.