WdfDeviceClearRemovalRelationsDevices method
[Applies to KMDF only]
The WdfDeviceClearRemovalRelationsDevices method removes all devices from the list of devices that must be removed when a specified device is removed.
Syntax
VOID WdfDeviceClearRemovalRelationsDevices(
[in] WDFDEVICE Device
);
Parameters
- Device [in]
-
A handle to a framework device object.
Return value
None.
A bug check occurs if the driver supplies an invalid object handle.
Examples
The following code example clears the list of devices that must be removed when the device that device identifies is removed.
WdfDeviceClearRemovalRelationsDevices(device);
Requirements
Minimum KMDF version | 1.0 |
---|---|
Header |
|
Library |
|
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | DriverCreate, KmdfIrql, KmdfIrql2 |
See also
Show: