PoCreatePowerLimitRequest - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

NTSTATUS PoCreatePowerLimitRequest(
  PVOID                   *PowerLimitRequest,
  PDEVICE_OBJECT          TargetDeviceObject,
  PDEVICE_OBJECT          PolicyDeviceObject,
  PCOUNTED_REASON_CONTEXT Context
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-pocreatepowerlimitrequest)

Description

This function creates a power limit request object.

Parameters

PowerLimitRequest

A pointer to receive the power limit request object.

TargetDeviceObject

Supplies the device object of the device to apply power limits.

PolicyDeviceObject

Supplies the device object of the device creating power limit requests.

Context

A pointer to a COUNTED_REASON_CONTEXT structure that describes why the caller is creating the power limit request object.

Return value

Returns an NTSTATUS value.

See also

PoDeletePowerLimitRequest

PoQueryPowerLimitAttributes

PoQueryPowerLimitValue

PoSetPowerLimitValue

POWER_LIMIT_ATTRIBUTES

POWER_LIMIT_TYPES

POWER_LIMIT_VALUE