// pep_x.h
typedef struct _PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES {
PEPHANDLE DeviceHandle;
ULONG RequestFlags;
NTSTATUS Status;
SIZE_T TranslatedResourcesSize;
PCM_RESOURCE_LIST TranslatedResources;
} PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES, *PPEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES;
View the official Windows Driver Kit DDI reference// pepfx.h
typedef struct _PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES {
[in] PEPHANDLE DeviceHandle;
[in] ULONG RequestFlags;
[out] NTSTATUS Status;
SIZE_T TranslatedResourcesSize;
[in] PCM_RESOURCE_LIST TranslatedResources;
} PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES, *PPEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES structure contains a list of translated power-control resources for the platform extension plug-in (PEP) to use.
DeviceHandleA PEPHANDLE value that identifies the device's registration for ACPI services. The platform extension plug-in (PEP) supplied this handle in response to a previous PEP_NOTIFY_ACPI_REGISTER_DEVICE notification.
RequestFlagsA set of input flags. No flags are currently defined for this member, which is always set to PEP_ACPI_TDCR_FLAG_NONE (0x0).
StatusAn NTSTATUS value that indicates the status of the resource translation. The PEP sets this member to STATUS_SUCCESS to indicate that the PEP successfully received the translated resources. Otherwise, the PEP sets this member to an appropriate error status code.
TranslatedResourcesSizeThe size, in bytes, of the TranslatedResources list data that follows this structure.
TranslatedResourcesA CM_RESOURCE_LIST structure that serves as the header for the resource list. The remainder of the resource list immediately follows this header.
This structure is used by the PEP_NOTIFY_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES notification to provide the PEP with a list of translated power control resources. The RequestFlags, TranslatedResourcesSize, and TranslatedResources members of the structure contain input values that the Windows power management framework (PoFx) supplies when this notification is sent. The Status member contains an output value that the PEP writes to the structure in response to the notification.
The PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES structure contains a list of translated power-control resources for the platform extension plug-in (PEP) to use.
DeviceHandle [in]A PEPHANDLE value that identifies the device's registration for ACPI services. The platform extension plug-in (PEP) supplied this handle in response to a previous PEP_NOTIFY_ACPI_REGISTER_DEVICE notification.
RequestFlags [in]A set of input flags. No flags are currently defined for this member, which is always set to PEP_ACPI_TDCR_FLAG_NONE (0x0).
Status [out]An NTSTATUS value that indicates the status of the resource translation. The PEP sets this member to STATUS_SUCCESS to indicate that the PEP successfully received the translated resources. Otherwise, the PEP sets this member to an appropriate error status code.
TranslatedResourcesSizeThe size, in bytes, of the TranslatedResources list data that follows this structure.
TranslatedResources [in]A CM_RESOURCE_LIST structure that serves as the header for the resource list. The remainder of the resource list immediately follows this header.
This structure is used by the PEP_NOTIFY_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES notification to provide the PEP with a list of translated power control resources. The RequestFlags, TranslatedResourcesSize, and TranslatedResources members of the structure contain input values that the Windows power management framework (PoFx) supplies when this notification is sent. The Status member contains an output value that the PEP writes to the structure in response to the notification.