ISoftUSBHubPort Interface

The ISoftUSBHubPort interface is a dual interface that represents a port on an external USB hub.

Members

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

  • Methods
  • Properties

Methods

The ISoftUSBHubPort interface defines the following methods.

Method Description
HotPlug

Connects a simulated device or hub to the port.

Unplug

Disconnects a simulated device or hub from the port.

 

Properties

The ISoftUSBHubPort interface defines the following properties.

Property Access type Description

EnableChange

Read/write

Gets or sets whether the Enabled property has changed values since the host set it to VARIANT_FALSE by using a CLEAR_FEATURE request.

AttachedDeviceSpeed

Read-only

Gets the speed of the device that is attached to the port.

ConnectStatusChange

Read/write

Gets or sets whether the CurrentConnectStatus property has changed values since the host set it to VARIANT_FALSE by using a CLEAR_FEATURE request.

CurrentConnectStatus

Read-only

Gets the current connection status for the device.

Device

Read-only

Gets the DSFDevice object that is associated with the SoftUSBDevice or SoftUSBHub object that is connected to the port.

DeviceRemovable

Read/write

Gets or sets whether a device that is attached to the port is removable.

Enabled

Read/write

Gets or sets whether the host has enabled the port.

Indicator

Read-only

Gets the current state of the port indicator, either host or hub.

IndicatorControl

Read-only

Gets whether the host controls the indicator light for the port.

OverCurrent

Read/write

Gets or sets whether the port has an over-current condition.

OverCurrentChange

Read/write

Gets or sets whether the OverCurrent property for the port has changed since the host set it to VARIANT_FALSE by using a CLEAR_FEATURE request.

Power

Read-only

Gets whether the port currently has power.

PwrCtrl

Read/write

Gets or sets the bits in the PortPwrCtrlMask field of the hub descriptor, as defined in section 11.23.2.1 of the USB2.0 specification.

Reset

Read-only

Gets the reset status for the port. This property is true during a reset sequence.

ResetChange

Read/write

Gets or sets whether the Reset property for the port has changed since the host set it to VARIANT_FALSE by using a CLEAR_FEATURE request.

Status

Read-only

Gets the wPortChange word value for the host.

Suspend

Read/write

Gets or sets whether the host has suspended the port.

SuspendChange

Read/write

Gets or sets whether the Suspend property for the port has changed since the host last set it to VARIANT_FALSE by using a CLEAR_FEATURE request.

TestMode

Read-only

Gets whether the host has placed the port in test mode.

 

Requirements

Header

SoftUSBif.h

See Also

ISoftUSBDevice

ISoftUSBHub

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010