Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

ADD_OBJECT_TO_SESSION callback.

Used to notify the PKCS 11 library that a new object from a search is to be added to the session via the hObject handle paramater. On entry to this function, the hObject parameter must be usable so that this callback can access attributes of the object via that handle. An error returned of eAccess indicates that the logged in user is not allowed to access the object based on the 'requested' access type. A returned error indicates that the object was not added into the session and thus not accessable via other functions.

Enumerator
ACCESS_READ_ONLY 
ACCESS_READ_WRITE 

Definition at line 51 of file p6tokenimpl.h.