Solved

getting the GUID for an USB mass storage

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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

615 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