CA_SendFMRequestDirect

Dispatches a message to a specified ‘actual slot’ ( See CA_GetActualSlotList).

This function is intended for FM management such as pinpad reading, or any other state based requests while host library is in HA mode.

See CA_SendFMRequestSession for more information about this function.

CK_RV CA_SendFMRequestDirect( CK_SESSION_HANDLE hSession, 
CK_SLOT_ID actualSlotID, 
CK_ULONG  operation,
 
CK_MECHANISM_PTR mechanism, // may be NULL
CK_ATTRIBUTE_PTR pTemplate,
CK_ULONG  templateCount, // may be zero
CK_OBJECT_HANDLE_PTR pObjectIn,
CK_ULONG_PTR  objectCountIn, // may be zero
CK_VOID_PTR inData,
CK_ULONG inDataLen, // may be zero
 
CK_OBJECT_HANDLE_PTR pObjectOut,
CK_ULONG_PTR  objectCountOut, // IN/OUT: may be NULL
CK_VOID * out, 
CK_ULONG_PTR outLength// IN/OUT: may be NULL
);