IRemoteTargetCallbackRemoval interface

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IRemoteTargetCallbackRemoval interface provides callback functions that the framework calls to notify the driver about events that are associated with the removal of a remote I/O target.

Methods

The IRemoteTargetCallbackRemoval interface has these methods.

Method Description
IRemoteTargetCallbackRemoval::OnRemoteTargetQueryRemove A UMDF-based driver's OnRemoteTargetQueryRemove event callback function determines whether a remote I/O target's device can be stopped and removed.
IRemoteTargetCallbackRemoval::OnRemoteTargetRemoveCanceled A UMDF-based driver's OnRemoteTargetRemoveCanceled event callback function performs operations that are necessary when the operating system cancels the removal of a remote I/O target's device.
IRemoteTargetCallbackRemoval::OnRemoteTargetRemoveComplete A UMDF-based driver's OnRemoteTargetRemoveComplete event callback function performs operations that are necessary after the operating system completes the removal of a remote I/O target's device.

Remarks

If your driver supports an IRemoteTargetCallbackRemoval interface for a device, the IUnknown::QueryInterface method that the driver passes to IWDFDevice2::CreateRemoteTarget must return the interface.

Requirements

   
Target Platform Windows
Header wudfddi.h