KM_DisplaySCStatus

Display information about the smart card entered in the specified slot.

NOTE   This function uses the following callbacks;

>UICB_PromptForSmartCard_t

>UICB_ShowSCBatchInfo_t

>UICB_ShowMsg_t

Synopsis

#include <kmlib.h>

KM_DisplaySCStatus  ( 
   CK_SLOT_ID           cardSlot
);
Parameter Description
cardSlot Card slot ID.

Returns

CKR_ARGUMENTS_BAD
CKR_CRYPTOKI_NOT_INITIALIZED
CKR_DEVICE_ERROR
CKR_DEVICE_MEMORY
CKR_DEVICE_REMOVED
CKR_FUNCTION_FAILED
CKR_GENERAL_ERROR
CKR_HOST_MEMORY
CKR_OK
CKR_SESSION_CLOSED
CKR_SESSION_COUNT
CKR_SESSION_HANDLE_INVALID
CKR_SESSION_PARALLEL_NOT_SUPPORTED
CKR_SESSION_READ_WRITE_SO_EXISTS
CKR_SLOT_ID_INVALID
CKR_TOKEN_NOT_PRESENT
CKR_TOKEN_NOT_RECOGNIZED
CKR_TOKEN_WRITE_PROTECTED