GetSessionCount
Determine the number of sessions on a token
Synopsis
CK_RV GetSessionCount(
CK_SLOT_ID slotID,
unsigned int * pSessionCount,
unsigned int *prwSessionCount);
Parameter | Description |
---|---|
slotID | Slot ID containing objects to count |
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