Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITokenImpl2::getSlotList ( CK_RV pRV,
CK_BBOOL  tokenPresent,
CK_SLOT_ID_PTR  pSlotList,
CK_ULONG_PTR  pulCount 
)
pure virtual

Invoked when the PKCS 11 P6R_GetSlotList() function is called.

P6R's PKCS 11 library hides this function with its own. So this is exposed via a P6R extension function.

All other parameters are as defined by the PKCS 11 Version 2.40 specification (see reference 1). The function return code is meant to convey an error to the enclosing PKCS 11 library, while the pRV parameter returns specific PKCS 11 error codes to the calling application.

Parameters
pRV[ out ] PKCS 11 return value to be returned to the caller. CKR_FUNCTION_NOT_SUPPORTED is returned if the function is not implemented.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA call to initialize() has not been made.
P6R::eInvalidState