SystemState class
Provides access to specific system configuration settings and the ability to save and restore them.
When to implement
Never. This is an interface implemented by Axe and provided to the assessment.
Inheritance
The SystemState interface inherits from IUnknown.
SystemState has these types of members:
Methods
The SystemState class has these methods.
Method | Description |
---|---|
~SystemState | Destructor method. |
CheckBoolean | Retrieves whether or not the specified system setting is enabled. |
CheckRegistryValueMultistring | Retrieves a multi-string (REG_MULTI_SZ) value from the registry. |
CheckRegistryValueString | Retrieves an unsigned 64-bit (unsigned REG_QWORD) value from the registry. |
CheckRegistryValueUInt32 | Retrieves an unsigned 32-bit integer (unsigned REG_DWORD) value from the registry. |
CheckRegistryValueUInt64 | Retrieves an unsigned 64-bit (unsigned REG_QWORD) value from the registry. |
RestoreAll | Restores all system settings originally modified through SetBoolean back to their original values. |
SetBoolean | Sets specified system settings. |
SetRegistryValueMultistring | Sets a multi-string (REG_MULTI_SZ) value into the registry. |
SetRegistryValueString | Sets a string (REG_SZ) value into the registry. |
SetRegistryValueUInt32 | Sets an unsigned 32-bit integer (unsigned REG_DWORD) value into the registry. |
SetRegistryValueUInt64 | Sets an unsigned 64-bit (unsigned REG_QWORD) value Into the registry. |
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|