WdfDeviceRemoveRemovalRelationsPhysicalDevice - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

VOID WdfDeviceRemoveRemovalRelationsPhysicalDevice(
  [in] WDFDEVICE      Device,
  [in] PDEVICE_OBJECT PhysicalDevice
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdeviceremoveremovalrelationsphysicaldevice)

WdfDeviceRemoveRemovalRelationsPhysicalDevice function

Description

[Applies to KMDF only]

The WdfDeviceRemoveRemovalRelationsPhysicalDevice method removes a specified device from the list of devices that must be removed when another specified device is removed.

Parameters

Device [in]

A handle to a framework device object.

PhysicalDevice [in]

A pointer to a caller-supplied DEVICE_OBJECT structure that represents a physical device object (PDO).

Remarks

A bug check occurs if the driver supplies an invalid object handle.

See also

WdfDeviceAddRemovalRelationsPhysicalDevice

WdfDeviceClearRemovalRelationsDevices