StarBurn OCX
ContentsIndexHome
PreviousUpNext
IDevices Interface
IDevices Methods | IDevices Members | Interfaces | Example

C++
[ 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; iCount; i++)
{
    // Get indexed device
    var Device = Devices.GetDevice(i);

    // Show device info
    WScript.echo('Found device = ' +
        Device.ProductID +' '+
        Device.VendorID + 'n'+
        Device.DeviceName
        );
}   
File

Devices.h

Links
IDevices Methods, IDevices Members, Interfaces, Example