Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Auto insert notification

0 views
Skip to first unread message

Jeff Henkels

unread,
Jul 28, 2000, 3:00:00 AM7/28/00
to
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...
> Hi, all.
>
> Is it possible to set/unset cdrom auto insert notification in a VxD at
boot
> time ?
>
> thanks
>
>
>
>
>
>
>

IamThat

unread,
Jul 29, 2000, 3:00:00 AM7/29/00
to

Heinz Baer

unread,
Jul 29, 2000, 3:00:00 AM7/29/00
to
If you want to make a professional product, you should never disable
auto insert notification. Instead, have a vxd intercept the IOPs that
ping the drive and reject them with IORS_LOCK_VIOLATION (or serialize
them). This can be done dynamically unlike the registry setting which
in some cases will not take effect until the system is restarted. This
results in a much better product for the user since auto insert is only
turned off for the drive your product is using and only when your
product is using it.

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.

IamThat

unread,
Jul 30, 2000, 3:00:00 AM7/30/00
to

Geoff Chappell

unread,
Jul 30, 2000, 3:00:00 AM7/30/00
to
Jeff Henkels wrote in message

>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.

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

0 new messages