CanEasy COM-Help
CanEasy::IHardware Interface Reference

Inherits IDispatch.

Detailed Description

Allows to access the hardware configuration of CanEasy

interface IHardware : IDispatch
{
HRESULT RefreshDevices();
HRESULT Vendors([out, retval] VARIANT *pVendors);
HRESULT Devices([in] BSTR sVendor, [out, retval] VARIANT *pDevices);
HRESULT Configurations([out, retval] IHardwareConfigurationCol**);
};

Definition at line 8828 of file cand_tlb.idl.

Member Function Documentation

◆ RefreshDevices()

HRESULT CanEasy::IHardware::RefreshDevices ( )

Call the hardware refresh which will detect new connected hardware adapters.

New detected devices will be added under the Hardware->Workstation

Property Documentation

◆ Configurations

IHardwareConfigurationCol CanEasy::IHardware::Configurations
get

Returns the collection containing all hardware configurations

◆ Devices

VARIANT CanEasy::IHardware::Devices([in] BSTR sVendor)
get

Returns the list of available devices for a vendors

Parameters
sVendorName of the vendor
Returns
String list of devices

◆ Vendors

VARIANT CanEasy::IHardware::Vendors
get

Returns the list of available vendors

CanEasy::IHardware::RefreshDevices
HRESULT RefreshDevices()
Call the hardware refresh which will detect new connected hardware adapters.
CanEasy::IHardware::Vendors
VARIANT Vendors
CanEasy::IHardware::Devices
VARIANT Devices([in] BSTR sVendor)
CanEasy::IHardware::Configurations
IHardwareConfigurationCol Configurations