Bewerken

Delen via


PEP_WORK_ACTIVE_COMPLETE structure (pep_x.h)

The PEP_WORK_ACTIVE_COMPLETE structure identifies a component that is now in the active condition.

Syntax

typedef struct _PEP_WORK_ACTIVE_COMPLETE {
       POHANDLE DeviceHandle;
  [in] ULONG    Component;
} PEP_WORK_ACTIVE_COMPLETE, *PPEP_WORK_ACTIVE_COMPLETE;

Members

DeviceHandle

A handle that represents the registration of the device with the Windows power management framework (PoFx). A POHANDLE value that represents the registration of the device with PoFx. The platform extension plug-in (PEP) previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.

[in] Component

The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.

Remarks

The ActiveComplete member of the PEP_WORK_INFORMATION structure is a PEP_WORK_ACTIVE_COMPLETE structure.

Requirements

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

See also

PEP_DEVICE_REGISTER_V2

PEP_DPM_REGISTER_DEVICE

PEP_WORK_INFORMATION