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.
Sets the value of an item.
Syntax
HRESULT SetValue(
[in] const VARIANT *Value
);
Parameters
[in] Value
Variant that contains the value of the item.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Indicates success. |
|
Indicates that the value is not of the correct type for the item, or that the value cannot be coerced to the correct type. |
|
Indicates that the item cannot be written, either because it is a read-only item, or because the namespace was opened in ReadOnly mode. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wcmconfig.h |
| DLL | SMIEngine.dll |