ISoftUSBHub Interface

The ISoftUSBHub interface is a dual interface that represents a external USB hub device.

Members

The ISoftUSBHub interface inherits from the IDispatch interface. ISoftUSBHub also defines the following types of members:

  • Methods
  • Properties

Methods

The ISoftUSBHub interface defines the following method.

Method Description
Destroy

Destroys the hub before the final release of the interface.

 

Properties

The ISoftUSBHub interface defines the following properties.

Property Access type Description

CompoundDevice

Read/write

Gets or sets whether the hub is part of a compound device.

ContrCurrent

Read/write

Gets or sets the maximum current of the simulated hub, in milliamperes (mA).

LocalPowerSourceChange

Read/write

Gets or sets whether the local power source has changed.

LogicalPowerSwitchingMode

Read/write

Gets or sets the logical power switch mode for the USB hub. For more information about this mode, see section 11.23.2.1 of the USB 2.0 specification, which you can download from the USB Web site.

NbrPorts

Read/write

Gets or sets the number of ports on the USB hub.

OverCurrent

Read/write

Gets or sets whether the sum of current that is drawn through all ports exceeds the specified maximum current.

OverCurrentChange

Read/write

Gets or sets whether the OverCurrent property has changed.

OverCurrentProtectMode

Read/write

Gets or sets the over-current protection mode. For more information about this mode, see section 11.23.2.1 of the USB 2.0 specification.

PortIndicatorsSupported

Read/write

Gets or sets whether a hub supports port indicators. For more information about the port indicators, see section 11.23.2.1 of the USB 2.0 specification.

Ports

Read-only

Gets a port collection that contains the ports that are associated with the hub.

PwrOn2PwrGood

Read/write

Gets or sets the PwrOn2PwrGood field for the hub. For more information about this field, see section 11.23.2.1 of the USB 2.0 specification.

RootHubPortNumber

Read-only

Gets the number of the port on the controller's root hub to which this external hub is ultimately connected.

SoftUSBDevice

Read-only

Gets the SoftUSBDevice object that is associated with the hub.

Status

Read-only

Gets the hub status to the host controller.

TTThinkTime

Read/write

Gets or sets the TT Think Time for the hub. For more information about TT Think Time, see section 11.23.2.1 of the USB 2.0 specification.

 

Requirements

Header

SoftUSBIf.h

See Also

ISoftUSBDevice

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010