// wdm.h
NTSTATUS PoQueryPowerLimitValue(
PVOID PowerLimitRequest,
ULONG ValueCount,
PPOWER_LIMIT_VALUE Values
);
View the official Windows Driver Kit DDI referenceNo description available.
This function queries the limit values of a power limit request object.
PowerLimitRequestA pointer to the power limit request object returned by PoCreatePowerLimitRequest.
ValueCountSupplies the number of limit values to query.
ValuesSupplies a pointer to the buffer that contains target limits and stores the readout.
Returns an NTSTATUS value.