|
Home > |
|---|
This function retrieves the number of accessible HSMs at the time the message dispatch library was initialized (when the MD_Initialize() function was called).
#include <md.h>
MD_RV MD_GetHsmCount(uint32* pHsmCount)
The message dispatch library has been initialized via the MD_Initialize() function.
|
Parameter |
Description |
|---|---|
pHsmCount
|
Pointer to the variable which will hold the number of visible HSMs when the function returns. The pointer must not be NULL. |
The HSM Count is returned in pHsmCount.
The function returns the following codes:
| Function Code | Qualification |
|---|---|
|
MDR_OK |
N/A |
|
MDR_INVALID_PARAMETER |
If pHsmCount was NULL. |
|
MDR_NOT_INITIALIZE |
If the message dispatch library was not previously initialized successfully. |