Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The POWER_LIMIT_ATTRIBUTES structure describes the attributes of each power limit type.
Syntax
typedef struct _POWER_LIMIT_ATTRIBUTES {
POWER_LIMIT_TYPES Type;
ULONG DomainId;
ULONG MaxValue;
ULONG MinValue;
ULONG MinTimeParameter;
ULONG MaxTimeParameter;
ULONG DefaultACValue;
ULONG DefaultDCValue;
union {
struct {
ULONG SupportTimeParameter : 1;
ULONG Reserved : 31;
};
ULONG AsUlong;
} Flags;
} POWER_LIMIT_ATTRIBUTES, *PPOWER_LIMIT_ATTRIBUTES;
Members
Type
Indicates which POWER_LIMIT_TYPES this attribute is associated with.
DomainId
Indicates which ___domain this attribute is associated with.
MaxValue
The maximum supported value (inclusive), unit is mW for power, mA for current.
MinValue
The minimum supported value (inclusive), unit is mW for power, mA for current.
MinTimeParameter
The minimum supported time parameter (inclusive), unit is microsecond.
MaxTimeParameter
The maximum supported time parameter (inclusive), unit is microsecond.
DefaultACValue
The default AC value, unit is mW for power, mA for current, microsecond for time parameters.
DefaultDCValue
The default DC value, unit is mW for power, mA for current, microsecond for time parameters.
Flags
Defines the Flags union.
Flags.SupportTimeParameter
Set to 1 if this limit supports time parameter.
Flags.Reserved
Reserved
Flags.AsUlong
Defines the AsULong member of the Flags union.
Remarks
Each instance of POWER_LIMIT_ATTRIBUTES is associated with one ___domain and one type. For example, if one power limit device has 2 domains: ___domain 0 supports PowerLimitContinuous, ___domain 1 supports PowerLimitContinuous and PowerLimitPreemptive.
Requirements
Requirement | Value |
---|---|
Header | ntpoapi.h (include Ntpoapi.h) |