Solved

getting the GUID for an USB mass storage

Posted on 2004-04-10
4
865 Views
Last Modified: 2013-11-15
hi,
i know that for HID, one can get the GUID value from hidclass.h and even call and API call. however, i wish to get the GUID for an USB mass storage. i've very new and do not know much about this device management area, hence wish to find out how this can be done.

thanks!
-ashrobo
0
Comment
Question by:ashrobo
  • 2
4 Comments
 
LVL 4

Expert Comment

by:bkfirebird
ID: 10800134
i think the answer is related to your next post
0
 

Author Comment

by:ashrobo
ID: 10800342
i am looking for the specific GUID that's assigned to the mass storage class for usb in this post.
0
 
LVL 4

Accepted Solution

by:
bkfirebird earned 125 total points
ID: 10804002
Ashboro,

you have to use WMI to get this ID. You have to get a object for the USB device and retrieve its DeviceID property.

I will try and explain how to code it in the other post, but I would suggest that you first go two things :

1. get the WMI SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

2. WMI Tools from http://www.microsoft.com/downloads/details.aspx?FamilyId=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en

after installing WMI tools, open the page C:\Program Files\WMI Tools\browser.htm and look at the various devices, properties, etc

-kiran adigopula
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We planned to use NetApp's SnapManager for Exchange (SME) to make three snapshots a day for quick recovery. Additional we planned to use Symantec NetBackup7 to backup to tape media for disaster recovery. We followed the best practice guide from NetA…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now