Discussion in 'Windows Vista Drivers' started by igor, Mar 16, 2005.

  1. igor

    igor Guest

    WM_DEVICECHANGE (with DBT_DEVICEARRIVAL) works fine but is so slo-o-ow in
    CD/DVD-rom case. It is not unusual to wait about 10 seconds between
    injecting the tray and the moment apps finally recieves
    WM_DEVICECHANGE/DBT_DEVICEARRIVAL notification. Is there any way for
    user-mode app to get "earlier" notification about media insert/tray inject
    Many thanks!
    igor, Mar 16, 2005
    1. Advertisements

  2. IIRC this notification (media insert) is sent by the FSD after mount only,
    and mounting the CD can take seconds.
    Maxim S. Shatskih, Mar 16, 2005
    1. Advertisements

  3. igor

    igor Guest

    that is very well understood, and MSDN explicitely points out on this fact
    in WM_DEVICECHANGE section. But my question was not about that :)
    I was asking how is it possible (if possible) to get tray/media in change
    event from user-mode app BEFORE(!) app receives
    Many thanks!
    igor, Mar 16, 2005
  4. There was some named event which is signaled before the FS will mount. Use
    WinObj to find the name.
    Maxim S. Shatskih, Mar 18, 2005
    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.