66 lines
3.0 KiB
Plaintext
66 lines
3.0 KiB
Plaintext
// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
|
|
[Version ( "6.0.0" ),
|
|
Description ( "Represents a system power scheme" )]
|
|
class AMT_SystemPowerScheme : CIM_SettingData {
|
|
|
|
[Required, Override ( "ElementName" ),
|
|
Description (
|
|
"The user friendly name for this instance of SettingData. "
|
|
"In addition, the user friendly name can be used as a "
|
|
"index property for a search of query. (Note: Name does "
|
|
"not have to be unique within a namespace.)" )]
|
|
string ElementName;
|
|
|
|
[Key, Override ( "InstanceID" ),
|
|
Description (
|
|
"Within the scope of the instantiating Namespace, "
|
|
"InstanceID opaquely and uniquely identifies an instance "
|
|
"of this class. In order to ensure uniqueness within the "
|
|
"NameSpace, the value of InstanceID SHOULD be constructed "
|
|
"using the following \'preferred\' algorithm: \n"
|
|
"<OrgID>:<LocalID> \n"
|
|
"Where <OrgID> and <LocalID> are separated by a colon "
|
|
"\':\', and where <OrgID> MUST include a copyrighted, "
|
|
"trademarked or otherwise unique name that is owned by "
|
|
"the business entity creating/defining the InstanceID, or "
|
|
"is a registered ID that is assigned to the business "
|
|
"entity by a recognized global authority (This is similar "
|
|
"to the <Schema Name>_<Class Name> structure of Schema "
|
|
"class names.) In addition, to ensure uniqueness <OrgID> "
|
|
"MUST NOT contain a colon (\':\'). When using this "
|
|
"algorithm, the first colon to appear in InstanceID MUST "
|
|
"appear between <OrgID> and <LocalID>. \n"
|
|
"<LocalID> is chosen by the business entity and SHOULD "
|
|
"not be re-used to identify different underlying "
|
|
"(real-world) elements. If the above \'preferred\' "
|
|
"algorithm is not used, the defining entity MUST assure "
|
|
"that the resultant InstanceID is not re-used across any "
|
|
"InstanceIDs produced by this or other providers for this "
|
|
"instance\'s NameSpace. \n"
|
|
"For DMTF defined instances, the \'preferred\' algorithm "
|
|
"MUST be used with the <OrgID> set to \'CIM\'." )]
|
|
string InstanceID;
|
|
|
|
[Key, Description (
|
|
"A unique configuration identifier for the power package "
|
|
"encoded as Base64." ),
|
|
MaxLen ( 64 ),
|
|
EOBase64]
|
|
string SchemeGUID;
|
|
|
|
|
|
[Description (
|
|
"This method activates this scheme. The IsCurrent property "
|
|
"of CIM_ElementSettingData class that is associated to "
|
|
"this scheme will be changed. All other schemes will be "
|
|
"deactivated. The method returns zero on success, a positive "
|
|
"number on failure." ),
|
|
ValueMap { "0", "1", "38", "2075" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR",
|
|
"PT_STATUS_FLASH_WRITE_LIMIT_EXCEEDED",
|
|
"PT_STATUS_AUDIT_FAIL" }]
|
|
uint32 SetPowerScheme(
|
|
);
|
|
|
|
};
|