// pep_x.h
typedef struct _PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE {
POHANDLE DeviceHandle;
ULONG CompletionFlags;
NTSTATUS MethodStatus;
PVOID CompletionContext;
SIZE_T OutputArgumentSize;
PACPI_METHOD_ARGUMENT OutputArguments;
} PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE, *PPEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE;
View the official Windows Driver Kit DDI reference// pepfx.h
typedef struct _PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE {
POHANDLE DeviceHandle;
ULONG CompletionFlags;
NTSTATUS MethodStatus;
PVOID CompletionContext;
SIZE_T OutputArgumentSize;
PACPI_METHOD_ARGUMENT OutputArguments;
} PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE, *PPEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE structure contains the results of an ACPI control method that was asynchronously evaluated by the platform extension plug-in (PEP).
DeviceHandleA POHANDLE value that represents the registration of the device with the Windows power management framework (PoFx). The PEP previously received this handle from PoFx during the PEP_NOTIFY_ACPI_REGISTER_DEVICE notification in which the PEP elected to provide ACPI services for the device.
CompletionFlagsA set of completion flags. No flags are currently defined for this member, which is always set to PEP_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE_FLAG_NONE (0x0).
MethodStatusCompletionContextA pointer to a completion context value. This is the same pointer that PoFx passed to the PEP in the PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification that initiated the asynchronous evaluation of the ACPI control method.
OutputArgumentSizeThe size, in bytes, of the buffer pointed to by the OutputArguments member.
OutputArgumentsA pointer to a buffer to which the PEP has written the result of evaluating the ACPI control method. This buffer starts with a ACPI_METHOD_ARGUMENT structure, which might be followed by additional output data. PoFx allocated this buffer and passed the buffer pointer to the PEP in the PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification that initiated the asynchronous evaluation of the ACPI control method.
The ControlMethodComplete member of the PEP_WORK_INFORMATION structure is a PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE structure.
A PEP_WORK_INFORMATION structure is included in the input parameters to the CompleteWork routine. The PEP writes the control method results to the ControlMethodComplete member of this structure before calling the routine. Evaluation of the control method was initiated by a previous PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification.
PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD
PEP_NOTIFY_ACPI_REGISTER_DEVICE
The PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE structure contains the results of an ACPI control method that was asynchronously evaluated by the platform extension plug-in (PEP).
DeviceHandleA POHANDLE value that represents the registration of the device with the Windows power management framework (PoFx). The PEP previously received this handle from PoFx during the PEP_NOTIFY_ACPI_REGISTER_DEVICE notification in which the PEP elected to provide ACPI services for the device.
CompletionFlagsA set of completion flags. No flags are currently defined for this member, which is always set to PEP_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE_FLAG_NONE (0x0).
MethodStatusCompletionContextA pointer to a completion context value. This is the same pointer that PoFx passed to the PEP in the PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification that initiated the asynchronous evaluation of the ACPI control method.
OutputArgumentSizeThe size, in bytes, of the buffer pointed to by the OutputArguments member.
OutputArgumentsA pointer to a buffer to which the PEP has written the result of evaluating the ACPI control method. This buffer starts with a ACPI_METHOD_ARGUMENT structure, which might be followed by additional output data. PoFx allocated this buffer and passed the buffer pointer to the PEP in the PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification that initiated the asynchronous evaluation of the ACPI control method.
The ControlMethodComplete member of the PEP_WORK_INFORMATION structure is a PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE structure.
A PEP_WORK_INFORMATION structure is included in the input parameters to the CompleteWork routine. The PEP writes the control method results to the ControlMethodComplete member of this structure before calling the routine. Evaluation of the control method was initiated by a previous PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD notification.
PEP_NOTIFY_ACPI_EVALUATE_CONTROL_METHOD
PEP_NOTIFY_ACPI_REGISTER_DEVICE