+ Reply to Thread
Results 1 to 2 of 2

Thread: Getting list of USB connected to machine dynamically.

  1. #1

    Getting list of USB connected to machine dynamically.

    I am developing a new application. I want to display all the connected USB drives in the list.

    I can collect all the information of already connected drives. But how to detect whether a USB is inserted in to the machine or removed?

    I want this to be dynamic? Can I do this?

    Is there any API available?

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Posts
    109
    WM_DEVICECHANGE can be useful in your case.

    Visit http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx for more information.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts