ISoftUSBEndpointEvents Interface
The ISoftUSBEndpointEvents interface is the ISoftUSBEndpoint events interface.
Members
The ISoftUSBEndpointEvents interface inherits from the IUnknown interface. ISoftUSBEndpointEvents also defines the following types of members:
- Events
Events
The ISoftUSBEndpointEvents interface defines the following events.
Event | Description |
---|---|
OnSetupTransfer | Fired for control endpoints when the setup phase transaction for a device request is received from the host. Allows the device simulator to respond directly to the request. |
OnWriteTransfer | Fired when an OUT transaction is received from the host. Caller must copy or otherwise consume the data. |
OnReadTransfer | Fired when an IN transaction is received from the host. Allows device simulator to directly return data to host controller for the transaction. |
OnDeviceRequest | Fired for control endpoints when a device request is received from the host. Allows the device simulator respond directly to the request. |
OnDeviceRequestComplete | Fired for control endpoints when the status phase transaction is received for a device request. Allows the device simulator to determine the final status of the request. |
Remarks
USB device simulators that use event-driven I/O must implement the ISoftUSBEndpointEvents event interface.
Requirements
Header |
SoftUSBif.h |
Send comments about this topic to Microsoft
Build date: 9/21/2010