Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

getting the GUID for an USB mass storage

Posted on 2004-04-10
4
Medium Priority
?
1,052 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 375 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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 difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

688 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