StarBurn OCX |
[ object, uuid("9016236B-B08B-4A33-86C1-120626ED735E"), dual, helpstring("IDevices Interface"), pointer_default(unique) ] __interface IDevices : public IDispatch;
This class contain all found devices
// create device collection class var Devices = new ActiveXObject( "StarBurnX.Devices" ); // iterate through collection for (var i=0; i<Devices.Count; i++) { // Get indexed device var Device = Devices.GetDevice(i); // Show device info WScript.echo('Found device = ' + Device.ProductID +' '+ Device.VendorID + 'n'+ Device.DeviceName ); }
Devices.h