Link to home
Create AccountLog in
Avatar of sirbounty
sirbountyFlag for United States of America

asked on

Win32 classes pt2

I'd like to find the class that would allow me to obtain the serial number/asset information from an external disk cabinet
ASKER CERTIFIED SOLUTION
Avatar of Renato Montenegro Rustici
Renato Montenegro Rustici
Flag of Brazil image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of sirbounty

ASKER

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.
May be you will get it by calling Win32 API. I will check MSDN. If I found something, i will post.
Sir,

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:

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

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.