MD_GetHsmCount
Retrieves the number of accessible HSMs at the time the message dispatch library was initialized - the time the MD_initialize() function was called.
Synopsis
#include <md.h> MD_RV MD_GetHsmCount(uint32* pHsmCount)
Input Requirements
The message dispatch library has been initialized via the MD_Initialize() function.
Input Parameters
pHsmCount |
Pointer to the variable which will hold the number of visible HSMs when the function returns. The pointer must not be NULL. |
Output Requirements
The HSM Count is returned in <pHsmCount>.
The function returns the following codes:
Function Code | Qualification |
---|---|
MDR_OK | No error |
MDR_INVALID_PARAMETER | If pHSMCount was NULL |
MDR_NOT_INITIALIZE | The message dispatch library was not previously initialized successfully |