GetSessionCount

Synopsis

CK_RV GetSessionCount(
CK_SLOT_ID slotID,
unsigned int * pSessionCount,
unsigned int *prwSessionCount);

Description

Determine the number of sessions on a token

Parameters

slotID

Slot ID containing objects to coun

pSessionCount

Reference to int to hold the number of open session

prwSessionCount

Reference to int to hold the number of open RW session

On Successful Return

*pSessionCount — number of open session

*prwSessionCount — number of open RW session