PEP_INFORMATION structure (pep_x.h)

The PEP_INFORMATION structure specifies the interface that the platform extension plug-in (PEP) uses to receive notifications from the Windows power management framework (PoFx).

Syntax

typedef struct _PEP_INFORMATION {
  USHORT                 Version;
  USHORT                 Size;
  PPEPCALLBACKNOTIFYDPM  AcceptDeviceNotification;
  PPEPCALLBACKNOTIFYPPM  AcceptProcessorNotification;
  PPEPCALLBACKNOTIFYACPI AcceptAcpiNotification;
} PEP_INFORMATION, *PPEP_INFORMATION;

Members

Version

The current version number for this structure. Set this member to PEP_INFORMATION_VERSION.

Size

The size, in bytes, of this structure. Set this member to sizeof(PEP_INFORMATION).

AcceptDeviceNotification

A pointer to an AcceptDeviceNotification callback routine. This member is required to point to a valid callback routine.

AcceptProcessorNotification

A pointer to an AcceptProcessorNotification callback routine. This member is optional and can be NULL if the PEP is not prepared to handle PPM notifications from PoFx.

AcceptAcpiNotification

A pointer to an AcceptAcpiNotification callback routine. This member is optional and can be NULL if the PEP is not prepared to handle ACPI notifications from PoFx.

Remarks

This structure contains pointers to several callback routines that are implemented by the PEP. PoFx calls these routines to send notifications to the PEP.

The PepInformation parameter to the PoFxRegisterPlugin and PoFxRegisterPluginEx routines is a pointer to a PEP_INFORMATION structure.

Requirements

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

See also

AcceptAcpiNotification

AcceptDeviceNotification

AcceptProcessorNotification

PoFxRegisterPlugin

PoFxRegisterPluginEx