Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

WdfPdoClearEjectionRelationsDevices method

[Applies to KMDF only]

The WdfPdoClearEjectionRelationsDevices method removes all devices from the list of devices that must be ejected when a specified device is ejected.

Syntax


VOID WdfPdoClearEjectionRelationsDevices(
  [in] WDFDEVICE Device
);

Parameters

Device [in]

A handle to a framework device object.

Return value

None.

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

Remarks

For more information, see Supporting Ejectable Devices.

Examples

The following code example clears the specified device's list of ejection relations.


WdfPdoClearEjectionRelationsDevices(device); 

Requirements

Target platform

Universal

Minimum KMDF version

1.0

Header

Wdfpdo.h (include Wdf.h)

Library

Wdf01000.sys (see Framework Library Versioning.)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

DriverCreate, KmdfIrql, KmdfIrql2

See also

WdfPdoAddEjectionRelationsPhysicalDevice
WdfPdoRemoveEjectionRelationsPhysicalDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft