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 |
---|---|---|
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. |
|
Read-only | Gets the speed of the device that is attached to the port. |
|
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. |
|
Read-only | Gets the current connection status for the device. |
|
Read-only | Gets the DSFDevice object that is associated with the SoftUSBDevice or SoftUSBHub object that is connected to the port. |
|
Read/write | Gets or sets whether a device that is attached to the port is removable. |
|
Read/write | Gets or sets whether the host has enabled the port. |
|
Read-only | Gets the current state of the port indicator, either host or hub. |
|
Read-only | Gets whether the host controls the indicator light for the port. |
|
Read/write | Gets or sets whether the port has an over-current condition. |
|
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. |
|
Read-only | Gets whether the port currently has power. |
|
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. |
|
Read-only | Gets the reset status for the port. This property is true during a reset sequence. |
|
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. |
|
Read-only | Gets the wPortChange word value for the host. |
|
Read/write | Gets or sets whether the host has suspended the port. |
|
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. |
|
Read-only | Gets whether the host has placed the port in test mode. |
Requirements
Header |
SoftUSBif.h |
See Also
Send comments about this topic to Microsoft
Build date: 9/21/2010