"IamThat" <Iam...@kornet.net> wrote in message
news:8lt1io$rok$1...@news1.kornet.net...
> Hi, all.
>
> Is it possible to set/unset cdrom auto insert notification in a VxD at
boot
> time ?
>
> thanks
>
>
>
>
>
>
>
In article <8lv0fc$s58$1...@news1.kornet.net>,
"IamThat" <Iam...@kornet.net> wrote:
> You right .
> But In this case,
> I must reboot my computer.
> I don't want to boot again.
> thanks
>
> Jeff Henkels <je...@nospam.bushtucker.com>이(가) 아래 메시지를
> news:%Qqg5.1301$Yp2....@newsrump.sjc.telocity.net에 게시하였습니다.
> > As I recall, that notification is governed by a registry setting,
so it
> > should be possible, provided you're far enough in the boot process
that
> the
> > entire registry is accessible.
> >
> > "IamThat" <Iam...@kornet.net> wrote in message
> > news:8lt1io$rok$1...@news1.kornet.net...
Sent via Deja.com http://www.deja.com/
Before you buy.
The question is maybe not so simple.
First, the relevant registry value appears to be not formally documented! A
search of the MSDN Library shows nothing for AutoInsertNotification, but a
lot of MSKB articles about turning on or off a feature known as "Auto Insert
Notification". I wonder how the authors of IOS drivers for CD-ROMs are
supposed to know to look under the name AutoInsertNotification. (Mind you,
there are any number of far more troubling documentation pitfalls awaiting
the author of a port driver for a proprietary CD-ROM drive.)
Second, unless one wants to get into the game of locating a device's
registry key by one's own methods, the appropriate time to locate, read and
possibly change the value would be when the registry key is being passed
around the IOS drivers in conjunction with the device node when the port
driver for the device is initialised. However, if you wrote an IOS driver to
modify the AutoInsertNotification value before any other IOS driver might
inspect it, then the very least you would have to anticipate is that the
value might be wanted by the port driver for the CD-ROM drive, on receipt of
AEP_CONFIG_DCB. This would mean that your IOS driver would have to use the
preload feature, in order to receive AEP_CONFIG_DCB before the port driver.
Anyway, the question looks to be not so simple - which surely raises the
possibility that it is the wrong question for whatever problem has motivated
it.
----
Geoff Chappell
Consulting Software Analyst
email: geo...@ozemail.com.au
web: www.ozemail.com.au/~geoffch