AddAttributeSets

Add two attribute sets being careful to drop duplicates. The 'base' attributes will override 'user' attributes where duplicates are concerned.  Resulting set is located in *pSum.

Synopsis

CK_RV AddAttributeSets(TOK_ATTR_DATA ** pSum,const TOK_ATTR_DATA * base,const TOK_ATTR_DATA * user); 
Parameter Description
pSum Reference to addition of base and user sets
base Attribute set to add to user set
user Attribute set to add to base set

On Successful Return

*pSum—reference to a newly allocated attribute set resulting from the addition. This memory needs to be released via a call to FreeAttributeSet.