Win32 classes pt2

Posted on 2006-03-21
Medium Priority
Last Modified: 2010-04-17
I'd like to find the class that would allow me to obtain the serial number/asset information from an external disk cabinet
Question by:sirbounty
  • 3
LVL 11

Accepted Solution

Renato Montenegro Rustici earned 750 total points
ID: 16248995
Let me suggest the ultimate tool to navigate WMI Classes:


Download "WMI Administrative Tools" and use WMI CIM Studio to look for the classes. You can use the search tool to find any class you like, create and manage instances so you can see if the information provided is what you were looking for. You can also download scriptomatic which create sample scripts for you. Both from Microsoft.
LVL 67

Author Comment

ID: 16262597
Nice tool - but I've been unable to find what I'm looking for...
I'd be satisfied if I could at least get information off of an external tape library.  I found the tapedrive class, which gives me the installed drive info, but not info on the changer unit.
LVL 11

Expert Comment

by:Renato Montenegro Rustici
ID: 16269055
May be you will get it by calling Win32 API. I will check MSDN. If I found something, i will post.
LVL 11

Expert Comment

by:Renato Montenegro Rustici
ID: 16270917

I found the following Win32 API:

GetTapeParameters - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Backup/backup/gettapeparameters.asp

And this docs will lead you to another point of view:


I think tape drivers are not handled as regular drives, so there are sets of APIs to control these devices.

Its possible that you'll have to build some DLL/COM Object to gain access to this function via Windows Script. But you can call it directly from VB.

Best regards.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Six Sigma Control Plans

749 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