🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to programatically disable/enable autorun of cdrom devices???

#11148
From: Remy Lebeau (TeamB)
Date: Mon, 23 Feb 2004 18:50
18 lines
1481 bytes
"Paolo Borlandi" <pborlandi@virgilio.it> wrote in message
news:403a1370@newsgroups.borland.com...

> I wrote an app that read some data from a cdrom that have
> autorun.inf.

Is your app being run from the CD-ROM in the first place?

> I'd like to disable autorun when I launch my
> application and re-enable it when the app closes.

    Enabling and Disabling AutoRun

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_reg.asp


Gambit
Technical Details
Message-ID: <403a49ab@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <403a1370@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,24ac49361cd87895,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-23 11:11:07 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <403a1370@newsgroups.borland.com>
Subject: Re: How to programatically disable/enable autorun of cdrom devices???
Date: Mon, 23 Feb 2004 10:50:57 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <403a49ab@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077561771 67.22.138.253 (23 Feb 2004 10:42:51 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail