Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WdfDeviceRemoveRemovalRelationsPhysicalDevice function (wdfdevice.h)

[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.

Syntax

VOID WdfDeviceRemoveRemovalRelationsPhysicalDevice(
 [in] WDFDEVICE Device,
 [in] PDEVICE_OBJECT PhysicalDevice
);

Parameters

[in] Device

A handle to a framework device object.

[in] PhysicalDevice

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

Return value

None

Remarks

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

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfdevice.h (include Wdf.h)
Library Wdf01000.sys (see Framework Library Versioning.)
IRQL <= DISPATCH_LEVEL
DDI compliance rules DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf)

See also

WdfDeviceAddRemovalRelationsPhysicalDevice

WdfDeviceClearRemovalRelationsDevices


Feedback

Was this page helpful?

Additional resources