PEP_PREPARE_DEVICE structure (pepfx.h)
The PEP_PREPARE_DEVICE structure identifies a device that must be started up in preparation for its use by the operating system.
Syntax
typedef struct _PEP_PREPARE_DEVICE {
[in] PCUNICODE_STRING DeviceId;
[out] BOOLEAN DeviceAccepted;
} PEP_PREPARE_DEVICE, *PPEP_PREPARE_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. The PEP that claims ownership is responsible for handling Device power management (DPM) notifications for the device.
Remarks
This structure is used by the PEP_DPM_PREPARE_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 | pepfx.h (include Pep_x.h) |