disable AutoPlay for my own USB drive

Discussion in 'Windows Vista Drivers' started by Gary Li, May 5, 2006.

  1. Gary Li

    Gary Li Guest

    Can I programmably disable Wndows default AutoPlay function for my specific
    model (vendor ID, product ID) in order to avoid the AutoPlay dialog box pops
    up ?
    I would like the AutoPlay still work for other USB drives.

    I really want to do is to run my own autorun application on the disk
    siliently.
    I planned to install a callback and let PnP manager notify me when my drive
    is plugged in.

    Thanks

    -Gary
     
    Gary Li, May 5, 2006
    #1
    1. Advertisements

  2. Gary Li

    Gary Li Guest

    It seems the AutoPlay can be disabled for a specific device or a specific
    event.

    However, I don't have idea what is the CLSID really means in the following
    registry.

    HKEY_LOCAL_MACHINE
    SOFTWARE
    Microsoft
    Windows
    CurrentVersion
    Explorer
    AutoplayHandlers
    CancelAutoplay
    CLSID
    00000000-0000-0000-0000-000000000000

    The original link is as follows:

    http://msdn.microsoft.com/library/d...cs_extending/autoplay/autoplay2k_cookbook.asp

    -Gary
     
    Gary Li, May 6, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.