 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Heiko Rompel Guest
|
Posted: Sun Sep 04, 2005 2:58 pm Post subject: Status of cd-rom door |
|
|
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
|
Posted: Sun Sep 04, 2005 6:48 pm Post subject: Re: Status of cd-rom door |
|
|
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
|
Posted: Wed Sep 07, 2005 4:43 am Post subject: Re: Status of cd-rom door |
|
|
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
|
Posted: Wed Sep 07, 2005 6:10 am Post subject: Re: Status of cd-rom door |
|
|
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 |
|
 |
|
|
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
|
|