Bewerken

Delen via


PEP_ACPI_TRANSLATED_DEVICE_CONTROL_RESOURCES structure (pepfx.h)

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.

Syntax

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;

Members

[in] DeviceHandle

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.

[in] RequestFlags

A set of input flags. No flags are currently defined for this member, which is always set to PEP_ACPI_TDCR_FLAG_NONE (0x0).

[out] Status

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.

TranslatedResourcesSize

The size, in bytes, of the TranslatedResources list data that follows this structure.

[in] TranslatedResources

A CM_RESOURCE_LIST structure that serves as the header for the resource list. The remainder of the resource list immediately follows this header.

Remarks

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.

Requirements

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

See also