SECPersistentTreeNode::AddKeyValue

DWORDSECPersistentTreeNode::AddKeyValue(const CString&strKey, const CString&strValue, BOOLbOverwriteExisting)

Add string data to this object's internal state.

Defined in: PERSTREE.CPP

Return Value

Error values OR'd together, see SECPersistentTreeNode::Create for description.

Parameters

strKey

Key name for data identification.

strValue

String data value.

bOverwriteExisting

If TRUE, overwrite value at existing strKey value if found.

Comments

Adds internal data to this node. Each PTN node can have an arbitrary amount of key-value data pairs, as long as the key names remain unique.

See Also

Create