Preparing Hardware and Software for Use with AutoPlay
Several pieces of information need to appear in the registry for AutoPlay to function. These pieces of information interact and reference each other to form the full AutoPlay environment. This document presents the setup of each of these pieces of information as an individual stand-alone procedure.
This article contains the following sections.
See the following topics for additional instructions.
- How To Specify an Icon for a Device
- How To Specify a Label for a Device
- How To Assign a Device Handler to a Device
- How To Specify an Icon, Label, or Device Handler for a Device Using a Device Group
- How To Specify an Icon, Label, or Device Handler for a Device Using a Device Class
- How To Set a Default Selection in the Single Content Type Dialog Box
- How To Prevent AutoPlay for a Component
- How To Register a Handler for a Device Event
- How To Use AutoPlay Events in Running Applications
- How To Register an Event Handler
AutoPlay searches for media four directory levels below the root directory to find known file types. It uses the PerceivedType value associated with a file name extension in the registry to determine the file category, whether it is an image, an audio file, or a video file. With this information, AutoPlay launches the appropriate handler for that device and file type. For more information, see Perceived Types and Application Registration.
Build date: 9/7/2011