Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 4.02 KB

ns-pep_x-_pep_work_power_control.md

File metadata and controls

111 lines (74 loc) · 4.02 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:pep_x._PEP_WORK_POWER_CONTROL
_PEP_WORK_POWER_CONTROL (pep_x.h)
Learn how the PEP_WORK_POWER_CONTROL structure contains the parameters for a power control request that the platform extension plug-in (PEP) sends directly to a processor driver.
kernel\pep_work_power_control.htm
kernel
04/30/2018
PEP_WORK_POWER_CONTROL structure
*PPEP_WORK_POWER_CONTROL, PEP_WORK_POWER_CONTROL, PEP_WORK_POWER_CONTROL structure [Kernel-Mode Driver Architecture], PPEP_WORK_POWER_CONTROL, PPEP_WORK_POWER_CONTROL structure pointer [Kernel-Mode Driver Architecture], _PEP_WORK_POWER_CONTROL, kernel.pep_work_power_control, pepfx/PEP_WORK_POWER_CONTROL, pepfx/PPEP_WORK_POWER_CONTROL
pep_x.h
Pep_x.h
Windows
Supported starting with Windows 10.
Windows
PEP_WORK_POWER_CONTROL, *PPEP_WORK_POWER_CONTROL
_PEP_WORK_POWER_CONTROL
pep_x/_PEP_WORK_POWER_CONTROL
PPEP_WORK_POWER_CONTROL
pep_x/PPEP_WORK_POWER_CONTROL
PEP_WORK_POWER_CONTROL
pep_x/PEP_WORK_POWER_CONTROL
APIRef
kbSyntax
HeaderDef
pepfx.h
_PEP_WORK_POWER_CONTROL
PPEP_WORK_POWER_CONTROL
PEP_WORK_POWER_CONTROL

_PEP_WORK_POWER_CONTROL structure (pep_x.h)

-description

The PEP_WORK_POWER_CONTROL structure contains the parameters for a power control request that the platform extension plug-in (PEP) sends directly to a processor driver.

-struct-fields

-field DeviceHandle

A POHANDLE value that identifies the processor. The PEP received this handle in a previous PEP_DPM_REGISTER_DEVICE notification.

-field PowerControlCode [in]

A pointer to a GUID value that specifies the power control operation to perform.

-field RequestContext

A pointer to a PEP-defined context value. The PEP might use this value to uniquely identify a power control request message (in case the PEP issues multiple requests with the same control code to the same device).

-field InBuffer [in]

A pointer to a driver-allocated input buffer that contains the input parameters for this power control operation.

-field InBufferSize [in]

The size in bytes of the buffer pointed to by InBuffer.

-field OutBuffer [in]

A pointer to a driver-allocated output buffer to which the PEP writes the results of this power control operation.

-field OutBufferSize [in]

The size in bytes of the buffer pointed to by OutBuffer.

-remarks

The PowerControl member of the PEP_WORK_INFORMATION structure is a pointer to a PEP_WORK_POWER_CONTROL structure.

The PEP issues a power control request from a worker thread. The Windows power management framework (PoFx) forwards this request by calling the processor driver's PowerControlCallback routine, if the driver implements this routine.

-see-also

GUID

PEP_DPM_REGISTER_DEVICE

PEP_WORK_INFORMATION

PoFxRegisterDevice

PowerControlCallback