SECPersistentTreeNode::AddKeyValue

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

Add integer 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.

nValue

Integer 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