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.
void OnRemoteTargetRemoveComplete( [in] IWDFRemoteTarget *pWdfRemoteTarget );
- pWdfRemoteTarget [in]
If your driver provides an OnRemoteTargetRemoveComplete event callback function, the callback function should do the following:
Do any driver-specific actions that your driver requires to close the remote I/O target.
If the driver does not provide this callback function, the framework calls IWDFRemoteTarget::Close for the driver.
For more information about the OnRemoteTargetRemoveComplete event callback function, see Controlling a General I/O Target's State in UMDF.
|Available in version 1.9 and later versions of UMDF.|