Solved

getting the GUID for an USB mass storage

Posted on 2004-04-10
4
849 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

758 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