PEP_ABANDON_DEVICE structure (pep_x.h)

The PEP_ABANDON_DEVICE structure identifies a device that has been abandoned and will no longer be used by the operating system.

Syntax

typedef struct _PEP_ABANDON_DEVICE {
  [in]  PCUNICODE_STRING DeviceId;
  [out] BOOLEAN          DeviceAccepted;
} PEP_ABANDON_DEVICE, *PPEP_ABANDON_DEVICE;

Members

[in] DeviceId

A string that uniquely identifies the device. This member is a pointer to a UNICODE_STRING structure that contains a device identification string.

[out] DeviceAccepted

Whether the PEP claims ownership of the device. The PEP sets this member to TRUE to claim ownership of the device, or to FALSE to indicate that it does not own the device.

Remarks

This structure is used by the PEP_DPM_ABANDON_DEVICE notification. The DeviceId member of the structure contains an input value that is supplied by the Windows power management framework (PoFx). The DeviceAccepted member contains an output value that the PEP writes to the structure in response to this notification.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Header pep_x.h (include Pep_x.h)

See also

PEP_DPM_ABANDON_DEVICE

UNICODE_STRING