IWDFDeviceAssignTransportSettings interface

The IWDFDeviceAssignTransportSettings interface exposes methods that drivers can use to set properties on a a multi-transport device's transport interface.

Members

The IWDFDeviceAssignTransportSettings interface inherits from the IUnknown interface. IWDFDeviceAssignTransportSettings also has these types of members:

Methods

The IWDFDeviceAssignTransportSettings interface has these methods.

MethodDescription
IWDFDeviceAssignTransportSettings::AddCompositeCompatibleID

A transport driver's call to the AddCompositeCompatibleID method adds a compatible identifier (ID) to a list of compatible IDs that identify the logical composite device to which the transport is attached.

IWDFDeviceAssignTransportSettings::AddCompositeHardwareID

A transport driver's call to the AddCompositeHardwareID method adds a hardware identifier (ID) to a list of hardware IDs that identify the logical composite device to which the transport is attached.

IWDFDeviceAssignTransportSettings::AssignCompositeInstanceID

A transport driver's call to the AssignCompositeInstanceID method assigns an instance identifier (ID) to the logical composite device to which the transport is attached.

IWDFDeviceAssignTransportSettings::AssignReferenceString

The AssignReferenceString method assigns a reference string to a multi-transport device's transport interface.

IWDFDeviceAssignTransportSettings::CommitTransportSettings

The CommitTransportSettings method stores the transport settings that the driver has set by previous calls to other methods of the IWDFDeviceAssignTransportSettings interface.

 

Remarks

Drivers obtain the IWDFDeviceAssignTransportSettings interface by calling IWDFDevice::QueryInterface.

Future versions of the framework might not support the IWDFDeviceAssignTransportSettings interface. Drivers for multi-transport devices should use Windows Portable Devices (WPD) interfaces, which are described in another section of this WDK documentation.

The WDK does not provide a header that declares the IWDFDeviceAssignTransportSettings interface. The interface definition language (IDL) definition of this interface is as follows:


//
// IWDFDeviceAssignTransportSettings Interface
//
[
    object,
    uuid(346A7103-30FB-4FCA-BC7C-9BB6B30B7CFC),
    helpstring("Used to register an IWDFDevice instance as a transport device. "
               "Retrieve by querying from the IWDFDevice interface"),
    local,
    restricted,
    pointer_default(unique)
]
interface IWDFDeviceAssignTransportSettings : IUnknown
{
    HRESULT
    AssignReferenceString(
        [in, annotation("__in")] PCWSTR pcwszReferenceString
        );
    HRESULT
    AssignCompositeInstanceID(
        [in, annotation("__in")] PCWSTR pcwszInstanceID
        );
    HRESULT
    AddCompositeHardwareID(
        [in, annotation("__in")] PCWSTR pcwszHardwareID
        );
    HRESULT
    AddCompositeCompatibleID(
        [in, annotation("__in")] PCWSTR pcwszCompatibleID
        );
    HRESULT
    CommitTransportSettings(
       void
        );
};

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.9

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft