mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-04 16:47:23 +00:00
1.2 KiB
1.2 KiB
title, description, MSHAttr, ms.assetid, ms.author, ms.date, ms.topic, ms.prod, ms.technology
title | description | MSHAttr | ms.assetid | ms.author | ms.date | ms.topic | ms.prod | ms.technology | ||
---|---|---|---|---|---|---|---|---|---|---|
ICSPNode SetValue | ICSPNode SetValue |
|
b218636d-fe8b-4a0f-b4e8-a621f65619d3 | windows-hardware-design-content | 05/02/2017 | article | windows-hardware | windows-oem |
ICSPNode::SetValue
This method sets the value for the configuration service provider node. It is an error to attempt to set the value of an interior node.
Syntax
HRESULT SetValue([in] VARIANT varValue);
Parameters
Value to set. To clear a leaf node’s value, set *varValue*’s type to `VT_NULL`.
Return Value
A value of S_OK indicates that the value was set successfully. CFGMGR_E_COMMANDNOTALLOWED indicates that this node does not support the ICSP::SetValue method, or that it's an internal node.
Remarks
For externally–transactioned nodes, no additional methods must be implemented to support rollback.
Requirements
Header: None
Related topics
Create a custom configuration service provider