// pep_x.h
typedef struct _PEP_INFORMATION {
USHORT Version;
USHORT Size;
PPEPCALLBACKNOTIFYDPM AcceptDeviceNotification;
PPEPCALLBACKNOTIFYPPM AcceptProcessorNotification;
PPEPCALLBACKNOTIFYACPI AcceptAcpiNotification;
} PEP_INFORMATION, *PPEP_INFORMATION;
View the official Windows Driver Kit DDI reference// pepfx.h
typedef struct _PEP_INFORMATION {
USHORT Version;
USHORT Size;
PPEPCALLBACKNOTIFYDPM AcceptDeviceNotification;
PPEPCALLBACKNOTIFYPPM AcceptProcessorNotification;
PPEPCALLBACKNOTIFYACPI AcceptAcpiNotification;
} PEP_INFORMATION, *PPEP_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
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).
VersionThe current version number for this structure. Set this member to PEP_INFORMATION_VERSION.
SizeThe size, in bytes, of this structure. Set this member to sizeof(PEP_INFORMATION).
AcceptDeviceNotificationA pointer to an AcceptDeviceNotification callback routine. This member is required to point to a valid callback routine.
AcceptProcessorNotificationA 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.
AcceptAcpiNotificationA 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.
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.
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).
VersionThe current version number for this structure. Set this member to PEP_INFORMATION_VERSION.
SizeThe size, in bytes, of this structure. Set this member to sizeof(PEP_INFORMATION).
AcceptDeviceNotificationA pointer to an AcceptDeviceNotification callback routine. This member is required to point to a valid callback routine.
AcceptProcessorNotificationA 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.
AcceptAcpiNotificationA 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.
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.