MD_GetEmbeddedSlotID

Synopsis:
  #include <md.h>
  MD_RV MD_GetEmbeddedSlotID(CK_SLOT_ID hostP11SlotId, 
			      uint32_t *pHsmIndex);
Input Requirements

None

Input Parameters
hostP11SlotID Host side slot ID of a P11 slot.
pHsmIndex Pointer to where embedded slot number is returned.
Output Requirements:

The function returns the following codes:

Function Code Qualification
MDR_OK No error
MDR_NO_EMBEDDED_SLOT Indicates the host slot does not have its peer in the HSM
Any other MD_RV error code Error in operation. Operation failed.