SUMMARY In recent years, there has been a dramatic increase in digital media content and an increase in the number of devices producing such content. Therefore, our Microsoft Windows autorun feature has always been improved to handle such scenarios. This editorial offers examples of new uses and tips for taking advantage of these add-ons. Topics include autoplay support for audio CDs and DVD movies, autoplay recording activity, event handlers, and how your software can interrupt autoplay if you don’t want certain files to be interrupted. The download tools include troubleshooting and help the subscriber understand Shell Hardware Detection service hardware events. |
How do I manually start AutoPlay?
The main purpose of AutoPlay is to provide a software response so that you can perform user-initiated hardware actions with your computer. The AutoPlay feature has remained similar to Windows® 95 or Windows 2000 and Windows Millennium Edition (Me) because until recently it wasthere are very few new user-triggered hardware event scenarios that could trigger the incredibly useful autoplay action. But more recently, with the proliferation of digital media content (music, graphics, as well as video) and the multitude of devices that create or consume content, many recent scenarios call for expanding the autoplay feature. Windows XP reflects the rapid growth in the number of media file owners with an improved AutoPlay feature. In addition to improving the existing Autorun.INF mechanism, automatic playback of audio CDs and DVD-DVDs, support for digital music (WMA/MP3) has been added. , graphics, video, CD lighting, camcorders and other hardware devices. The following article refers to Autoplay prior to Windows XP as Autoplay as V1. Autoplay V2 refers to the new Autoplay features announced in Windows XP. In this article, we intend to cover the autoplay features for both versions. The amazing new features are demonstrated with an accessible subset of code that can be downloaded with this trial. Example 1illustrates a typical complex application for handling volume autoplay events and additionally enumerates the files served through the IDropTarget interface. Example 2 illustrates an application that registers to handle child camera events and also demonstrates how to cancel these autoplay events. The application can be easily modified to handle other autoplay and cancellation festivals without bulk.
Specifying Autorun.INF behavior
If you installed the software from a CD, Autorun.INF may have been used. Most product CDs for the Windows platform actually use them. The typical usage scenario is so unique: the CD is inserted into the CD drive, the installation of the program starts automatically, and furthermore, the user simply follows the screen maps generated by the software installer. Without this approach mechanism, the user must find and open the “My Computer” folder, find the CD-ROM drive,double click the icon, find the desired program to run and start the calculation. All this is far from obvious to inexperienced users and adds to the perceived complexity of the PC. Autorun functionality depends on the presence of an autorun file named .INF on disk. The file follows the typical Windows INI file format and should even have an [autorun] section. A basic autostart section might look like this:
|