IPnpCallbackTransportInterfaceNotification interface

A driver's IPnpCallbackTransportInterfaceNotification interface provides a callback function that the framework calls to notify the driver that a transport interface has become available.

Members

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

Methods

The IPnpCallbackTransportInterfaceNotification interface has these methods.

MethodDescription
IPnpCallbackTransportInterfaceNotification::OnTransportInterfaceArrival

A composite driver's OnTransportInterfaceArrival event callback function informs the driver that a transport interface is available.

 

Remarks

If your driver supports an IPnpCallbackTransportInterfaceNotification interface for a device, the IUnknown::QueryInterface method that the driver passes to IWDFDriver::CreateDevice must return the interface.

Future versions of the framework might not support the IPnpCallbackTransportInterfaceNotification 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 IPnpCallbackTransportInterfaceNotification interface. The interface definition language (IDL) definition of this interface is as follows:


//
// IPnpCallbackTransportInterfaceNotification Interface.
//

[
    object,
    uuid(4099F359-E413-4593-AB1C-2EABDB841F1D),
    helpstring("The method in this interface will be called by the framework when "
               "a Transport Interface for this device comes online."),
    local,
    restricted,
    pointer_default(unique)
]
interface IPnpCallbackTransportInterfaceNotification : IUnknown
{
    void
    OnTransportInterfaceArrival(
        [in, annotation("__in")] IWDFRemoteInterfaceInitialize * pWdfRemoteInterfaceInit
        );
}

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.9

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft