[Applies to UMDF 1.x only]
A driver's OnRemoteInterfaceArrival event callback function informs the driver when a device interface is available.
void OnRemoteInterfaceArrival( [in] IWDFRemoteInterfaceInitialize *pWdfRemoteInterfaceInit );
- pWdfRemoteInterfaceInit [in]
A pointer to the IWDFRemoteInterfaceInitialize interface that identifies the device interface that has arrived.
A UMDF-based driver can register its optional OnRemoteInterfaceArrival event callback function by calling IWDFDevice2::RegisterRemoteInterfaceNotification.
The driver can use methods of the IWDFRemoteInterfaceInitialize interface to determine which device interface has arrived.
Before the driver can send I/O requests to the device interface, the driver must do the following:
Call IWDFDevice2::CreateRemoteInterface to create a remote interface object.
Call IWDFDevice2::CreateRemoteTarget to create a remote target object.
Call IWDFRemoteTarget::OpenRemoteInterface to connect the interface object to the remote target object and open the remote target for I/O operations.
For more information about using remote interface objects to access device interfaces, see Using Device Interfaces in UMDF-based Drivers
End of support
|Unavailable in UMDF 2.0 and later.|
Minimum UMDF version