ISoftHIDProtocolXlator Interface

The ISoftHIDProtocolXlator interface is the dual interface on the SoftHIDProtocolXlator object. This object is used by USB HID device simulators to implement the USB HID protocol as defined by the USB Device Class Definition for Human Interface Devices (HID) Firmware Specification Version 1.11.

Members

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

  • Methods
  • Properties

Methods

The ISoftHIDProtocolXlator interface defines the following methods.

Method Description
ReadOutputReport

Reads the HID report that is received from the host.

WriteFeatureReport

Sends a feature report to the host.

WriteInputReport

Sends an input report to the host.

WriteReportDescriptor

Sets the report descriptor that will be returned to the host.

 

Properties

The ISoftHIDProtocolXlator interface defines the following properties.

Property Access type Description

DeviceType

Read/write

Gets or sets the human input device (HID) device type.

DSFDevice

Read-only

Returns the DSFDevice object that the protocol translator uses.

HIDDescriptor

Read/write

Sets the HID descriptor that the protocol translator uses.

 

Requirements

Header

SoftHidUsbIf.h

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010