corePKCS11  v3.2.0
PKCS #11 Cryptoki Library
xGetSlotList

Get a list of available PKCS #11 slots.

CK_RV xGetSlotList( CK_SLOT_ID ** ppxSlotId,
CK_ULONG * pxSlotCount );
Note
This function allocates memory for slots. Freeing this memory is the responsibility of the caller.
Parameters
[out]ppxSlotIdPointer to slot list. This slot list is malloc'ed by the function and must be freed by the caller.
[out]pxSlotCountPointer to the number of slots found.
Returns
CKR_OK or PKCS #11 error code. (PKCS #11 error codes are positive).
xGetSlotList
CK_RV xGetSlotList(CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)
Get a list of available PKCS #11 slots.
Definition: core_pkcs11.c:70