HSM Management.
See the HSM technical documentation.
Settings and Macros | |
#define | DN_NT_MAX_TARGET_LEN (255) |
#define | DN_NTOOL_PING (1) |
#define | DN_NTOOL_TRACERT (2) |
#define | DN_NTOOL_CROSS_CHECK (100) |
#define | DN_WRITE_FILE_OPT_CERT_CHAIN (1) |
#define | DN_WRITE_FILE_OPT_NO_CONVERSION (2) |
#define | DN_ATOKEN_CACHE_GET_COUNT (0) |
#define | DN_ATOKEN_CACHE_GC (1) |
#define | DN_S_NSAUTH_ASSOC (1) |
#define | DN_S_NSAUTH_RESET (2) |
#define | DN_S_NSAUTH_AUTH (3) |
#define | DN_S_NSAUTH_eAUTH (4) |
#define | DN_S_NSAUTH_CHECK (5) |
Type Definitions | |
typedef int(AAP_API * | funcListKeyCallback) (char *szKeyName, void *pParam, BOOL bFinal) |
typedef int(AAP_API * | funcLogEventCallback) (char *szEvent, void *pParam, BOOL bFinal) |
typedef int(AAP_API * | funcReadLocalFileCallback)(BYTE *pbData, DWORD *pdwDataLen, void *pParam, BOOL *pbFinal) |
typedef int(AAP_API * | funcWriteLocalFileCallback)(BYTE *pbData, DWORD dwDataLen, void *pParam, BOOL bFinal) |
typedef int(AAP_API * | funcListAKeysCallback) (void *pvToken, void *pParam, BOOL bFinal) |
Enumerations | |
enum | RetCodeMsgType { CODE_MSG = 1 , DESC_MSG } |
Functions | |
int AAP_API | DListObjs(HSESSIONCTX hSession, funcListKeyCallback fncallback, void *pParam) |
int AAP_API | DListBlobs(HSESSIONCTX hSession, funcListKeyCallback fncallback, void *pParam) |
int AAP_API | DBackupData(HSESSIONCTX hSession, char *szBackupFile, char *szPin, int nDirection) |
int AAP_API | DBackupObject(HSESSIONCTX hSession, DWORD dwOP, char *szObjectId, char *szPin, BYTE *pbData, DWORD *pdwDataLen, DWORD dwReserved) |
int AAP_API | DGetLogEvents(HSESSIONCTX hSession, funcLogEventCallback fncallback, void *pParam) |
int AAP_API | DAdmOperation(HSESSIONCTX hSession, DWORD dwParam, BYTE *pbData, DWORD dwDataLen, DWORD dwFlags) |
int AAP_API | DGetHSMTLSCert (char *szAddress, int nPort, DWORD dwOutFormat, BYTE **ppbOutCert, DWORD *pdwOutCertLen, DWORD dwFlags) |
int AAP_API | DHSMTool(HSESSIONCTX hSession, DWORD dwOption, const char *szTarget, void **pvResult, DWORD *pdwResultLen, DWORD dwFlags) |
int AAP_API | DWriteFileBuffer(HSESSIONCTX hSession, const char *szFileId, BYTE *pbFile, DWORD dwFileSize, DWORD dwOptions) |
int AAP_API | DWriteFile(HSESSIONCTX hSession, char *szFileId, DWORD dwFileSize, funcReadLocalFileCallback fncallback, void *pParam) |
int AAP_API | DReadFile(HSESSIONCTX hSession, char *szFileId, funcWriteLocalFileCallback fncallback, void *pParam) |
int AAP_API | DReadFileBuffer(HSESSIONCTX hSession, const char *szFileId, BYTE **ppbData, DWORD *pdwDataLen, DWORD dwReserved) |
int AAP_API | DRemoveObj(HSESSIONCTX hSession, char *szObjId) |
int AAP_API | DGetStatLog(HSESSIONCTX hSession, DWORD dwStart, DWORD dwOffset, DWORD *pdwLogSize, BYTE **ppbLog) |
int AAP_API | DTruncateLog(HSESSIONCTX hSession) |
int AAP_API | DFindHSM(DWORD dwServiceType, DWORD dwFilter, void **ppvOutputData, DWORD *pdwOutputDataLen, DWORD dwFlags) |
int AAP_API | DManageAToken(HSESSIONCTX hSession, BYTE bOP, DN_A_TOKEN_FULL *pstATokenFull, funcListAKeysCallback fnCallBack, void *pvCallbackParam, DWORD dwParam) |
int AAP_API | DManageATokenCache(HSESSIONCTX hSession, DWORD dwOP, void *pOutData, DWORD dwParam) |
int AAP_API | DDSBindHSM(HSESSIONCTX hSession, const char *szBindKey, DWORD dwReserved) |
int AAP_API | DDSUnbindHSM(HSESSIONCTX hSession, DWORD dwReserved) |
int AAP_API | DSCGetShadow (const char *szPin, DN_SC_M_OF_N_SHADOW *pstShadow, DWORD dwReserved) |
int AAP_API | DNSAuthSetState(HSESSIONCTX hSession, DWORD dwAcl, BYTE bState, DN_SC_M_OF_N_SHADOW *pstShadows, DWORD dwShadowsCount, DWORD dwReserved) |
int AAP_API | DGetErrorString (int nErrorValue, char *szErrorCode, char *szErrorDesc) |
const char *AAP_API | DGetReturnCodeString (int nErrorValue, RetCodeMsgType eErrorType) |
#define DN_NT_MAX_TARGET_LEN (255) |
#include <dinamo.h>
#define DN_NTOOL_PING (1) |
#include <dinamo.h>
#define DN_NTOOL_TRACERT (2) |
#include <dinamo.h>
#define DN_NTOOL_CROSS_CHECK (100) |
#include <dinamo.h>
#define DN_WRITE_FILE_OPT_CERT_CHAIN (1) |
#include <dinamo.h>
#define DN_WRITE_FILE_OPT_NO_CONVERSION (2) |
#include <dinamo.h>
#define DN_ATOKEN_CACHE_GET_COUNT (0) |
#include <dinamo.h>
#define DN_ATOKEN_CACHE_GC (1) |
#include <dinamo.h>
#define DN_S_NSAUTH_ASSOC (1) |
#include <dinamo.h>
Set the associated state.
#define DN_S_NSAUTH_RESET (2) |
#include <dinamo.h>
Reset NSAuth state. Not associated and not authorized.
#define DN_S_NSAUTH_AUTH (3) |
#include <dinamo.h>
Set the authorized state. Not available yet.
#define DN_S_NSAUTH_eAUTH (4) |
#include <dinamo.h>
Set the session's state to authorized. The ACL must be set with DN_S_NSAUTH_ASSOC first.
#define DN_S_NSAUTH_CHECK (5) |
#include <dinamo.h>
Check the shadow share set. This flag doesn't change the NSAuth state.
#include <dinamo.h>
Pointer to callback function for listing objects.
[in] | szKeyName | Object name. |
[in] | pParam | Pointer to a parameter passed to the DListObjs() function. |
[in] | bFinal | Flag indicating the last record. |
#include <dinamo.h>
Pointer to a callback function to record the events generated by the server.
[in] | szEvent | Log event. |
[in] | pParam | Pointer to a parameter passed to the DgetLogEvents function. |
[in] | bFinal | Indicates the end of event sending. |
typedef int(AAP_API * funcReadLocalFileCallback) (BYTE *pbData, DWORD *pdwDataLen, void *pParam, BOOL *pbFinal) |
#include <dinamo.h>
Pointer to callback function to read the file to be uploaded to the HSM.
[in] | pbData | Buffer containing the read data. |
[in] | pdwDataLen | Pointer to a DWORD containing the number of bytes read from the file |
[in] | pParam | Pointer to a parameter passed to the DWriteFile() function. |
[in] | pbFinal | Flag indicating the end of the file. |
typedef int(AAP_API * funcWriteLocalFileCallback) (BYTE *pbData, DWORD dwDataLen, void *pParam, BOOL bFinal) |
#include <dinamo.h>
Pointer to callback function to locally save the file retrieved from the HSM.
[in] | pbData | Buffer with the data that will be written to the file. |
[in] | dwDataLen | Number of bytes to be recorded. |
[in] | pParam | Pointer to a parameter passed to the DWriteFile() function. |
[in] | bFinal | Flag indicating the end of the file. |
#include <dinamo.h>
Pointer to callback function for listing session tokens in DManageAToken().
[in] | pvToken | Pointer that will receive a DN_A_TOKEN_FULL structure containing the session token data. |
[in] | pParam | Pointer to a parameter passed to the DManageAToken() function. |
[in] | bFinal | Flag indicating the last record. |
enum RetCodeMsgType |
#include <dinamo.h>
Enumeration of return code message types.
Enumerators | |
---|---|
CODE_MSG | Returns the text of the return code. |
DESC_MSG | Returns the description of the return code. |
int AAP_API DListObjs | ( | HSESSIONCTX | hSession, |
funcListKeyCallback | fncallback, | ||
void * | pParam ) |
#include <dinamo.h>
Lists the objects stored on Dinamo, including keys and files.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | fncallback | Pointer to a callback function used to list the names (identifiers) of objects. |
[in] | pParam | Pointer to any parameter that will be passed to the callback function |
int AAP_API DListBlobs | ( | HSESSIONCTX | hSession, |
funcListKeyCallback | fncallback, | ||
void * | pParam ) |
#include <dinamo.h>
Lists the blobs stored on Dinamo.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | fncallback | Pointer to a callback function used to list the names (identifiers) of the blobs. |
[in] | pParam | Pointer to any parameter that will be passed to the callback function |
int AAP_API DBackupData | ( | HSESSIONCTX | hSession, |
char * | szBackupFile, | ||
char * | szPin, | ||
int | nDirection ) |
#include <dinamo.h>
Creates or restores the backup of objects (keys, certificates, etc.) stored internally on Dinamo.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||||||
[in] | szBackupFile | Path of the backup file. | ||||||||||
[in] | szPin | Password for protecting the backup file. Must be ASCII characters. The length must be between MIN_BACKUP_PIN_LEN and MAX_BACKUP_PIN_LEN. | ||||||||||
[in] | nDirection | [in] Specifies the action to be performed.
|
int AAP_API DBackupObject | ( | HSESSIONCTX | hSession, |
DWORD | dwOP, | ||
char * | szObjectId, | ||
char * | szPin, | ||
BYTE * | pbData, | ||
DWORD * | pdwDataLen, | ||
DWORD | dwReserved ) |
#include <dinamo.h>
Creates or restores the backup of a specific object in the HSM.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||
[in] | dwOP | Specifies the action to be performed.
| ||||||
[in] | szObjectId | Name of the object within the HSM. | ||||||
[in] | szPin | Password for protecting the backup file. Must be ASCII characters. The length must be between MIN_BACKUP_PIN_LEN and MAX_BACKUP_PIN_LEN. | ||||||
[in,out] | pbData | Buffer containing the object's backup. See options in dwOP for more details. | ||||||
[in,out] | pdwDataLen | Backup size. See options in dwOP for more details. | ||||||
[in] | dwReserved | Reserved for future use (must be 0). |
As the object was encrypted by the SVMK, it can only be restored on HSMs Dinamo initialized with the same SVMK. From a security point of view, the object contained in the backup is still protected by the HSM's cryptographic boundary.
Different lines of HSM models Dinamo may have different methods for deriving SVMK from the seed. The backups generated in XP and ST models are interoperable with each other, but not with model backups Pocket.
restore
. Only the object specified in szObjectId
will be included in the backup. int AAP_API DGetLogEvents | ( | HSESSIONCTX | hSession, |
funcLogEventCallback | fncallback, | ||
void * | pParam ) |
#include <dinamo.h>
Retrieves the log events generated by the server.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | fncallback | Pointer to a callback function used to record events generated by the server. |
[in] | pParam | Pointer to any parameter that will be passed to the callback function. |
int AAP_API DAdmOperation | ( | HSESSIONCTX | hSession, |
DWORD | dwParam, | ||
BYTE * | pbData, | ||
DWORD | dwDataLen, | ||
DWORD | dwFlags ) |
#include <dinamo.h>
Performs administrative operations on the server.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||||||||||||||||||||||||||||||
[in] | dwParam | Specifies the operation that will be performed and consequently the structure or data passed in the parameter pbData .
| ||||||||||||||||||||||||||||||||||
[in] | pbData | Pointer to the data or structures specified in dwParam . | ||||||||||||||||||||||||||||||||||
[in] | dwDataLen | Size of data or structure specified in dwParam . | ||||||||||||||||||||||||||||||||||
[in] | dwFlags | It must be 0 or one of the values below.
|
The AO_GET_SEC_POLICY_GFLAGS and AO_SET_SEC_POLICY_GFLAGS options support the following values:
Value | Meaning |
---|---|
DN_SEPOL_GF_ENABLE_HTTP_X509_SA | Enables authentication of HTTP clients by X.509 certificates. |
DN_SEPOL_GF_ENABLE_NSA_API_AUTH | Enables M of N partition authentication via API. |
int AAP_API DGetHSMTLSCert | ( | char * | szAddress, |
int | nPort, | ||
DWORD | dwOutFormat, | ||
BYTE ** | ppbOutCert, | ||
DWORD * | pdwOutCertLen, | ||
DWORD | dwFlags ) |
#include <dinamo.h>
Retrieves the HSM certificate used in TLS.
[in] | szAddress | HSM address. | ||||||
[in] | nPort | HSM access port. The default port is DEFAULT_PORT. | ||||||
[in] | dwOutFormat | Certificate output format.
| ||||||
[in] | ppbOutCert | Pointer with the certificate in the format specified in dwOutFormat. This pointer must be released with DFree. | ||||||
[in] | pdwOutCertLen | Certificate size indicated in ppbOutCert . | ||||||
[in] | dwFlags | Reserved for future use (must be 0). |
int AAP_API DHSMTool | ( | HSESSIONCTX | hSession, |
DWORD | dwOption, | ||
const char * | szTarget, | ||
void ** | pvResult, | ||
DWORD * | pdwResultLen, | ||
DWORD | dwFlags ) |
#include <dinamo.h>
Run test tools from the HSM.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||||
[in] | dwOption | Operating option.
| ||||||||
[in] | szTarget | Target address of the operation to be executed. Maximum size of DN_NT_MAX_TARGET_LEN. | ||||||||
[out] | pvResult | Pointer that will contain the result of the command executed. This pointer must be freed with DFree. | ||||||||
[out] | pdwResultLen | Size of the buffer returned in pvResult . | ||||||||
[in] | dwFlags | Reserved for future use (must be 0). |
int AAP_API DWriteFileBuffer | ( | HSESSIONCTX | hSession, |
const char * | szFileId, | ||
BYTE * | pbFile, | ||
DWORD | dwFileSize, | ||
DWORD | dwOptions ) |
#include <dinamo.h>
Import a file into HSM.
[in] | hSession | Context acquired through the DOpenSession() function. | |
[in] | szFileId | Identifier of the new file within the HSM. | |
[in] | pbFile | Buffer containing the file to be imported. | |
[in] | dwFileSize | Size of the file to be uploaded. | |
[in] | dwOptions | Value |
Meaning
The file provided is a certificate chain. Do not use this option with other file types.
DN_WRITE_FILE_OPT_NO_CONVERSION
The file will be imported without format conversion.
Type | Format |
---|---|
X.509 certificates | DER or PEM |
CRL (Certificate Revocation List) or LCR (List of Revoked Certificates) | DER or PEM |
PKCS#7 certificate chains | DER or PEM (PEM detection requires the use of the DN_WRITE_FILE_OPT_CERT_CHAIN flag) |
int AAP_API DWriteFile | ( | HSESSIONCTX | hSession, |
char * | szFileId, | ||
DWORD | dwFileSize, | ||
funcReadLocalFileCallback | fncallback, | ||
void * | pParam ) |
#include <dinamo.h>
Import a file into HSM.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | szFileId | Identifier of the new file within the HSM. |
[in] | dwFileSize | Size of the file to be uploaded. |
[in] | fncallback | Pointer to a callback function used to read the file to be loaded. |
[in] | pParam | Pointer to any parameter that will be passed to the callback function. |
Type | Format |
---|---|
X.509 certificates | DER |
CRL (Certificate Revocation List) or LCR (List of Revoked Certificates) | DER |
PKCS#7 certificate chains | DER |
int AAP_API DReadFile | ( | HSESSIONCTX | hSession, |
char * | szFileId, | ||
funcWriteLocalFileCallback | fncallback, | ||
void * | pParam ) |
#include <dinamo.h>
Export an HSM file.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | szFileId | File identifier within the HSM. |
[in] | fncallback | Pointer to a callback function used to write the retrieved file. |
[in] | pParam | Pointer to any parameter that will be passed to the callback function. |
int AAP_API DReadFileBuffer | ( | HSESSIONCTX | hSession, |
const char * | szFileId, | ||
BYTE ** | ppbData, | ||
DWORD * | pdwDataLen, | ||
DWORD | dwReserved ) |
#include <dinamo.h>
Exports an HSM file to a buffer.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | szFileId | File identifier within the HSM. |
[out] | ppbData | Pointer that will receive the data from the read file. Memory is allocated internally. The memory must be freed with DFree(). |
[out] | pdwDataLen | Receives the size of the buffer allocated in ppbData . |
[in] | dwReserved | Reserved for future use (must be 0). |
int AAP_API DRemoveObj | ( | HSESSIONCTX | hSession, |
char * | szObjId ) |
#include <dinamo.h>
Removes an object stored on Dinamo, whether it's a key or a file.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | szObjId | Identifier of the object within the HSM. This identifier must not contain spaces or special characters. Uppercase and lowercase characters are case-sensitive. |
int AAP_API DGetStatLog | ( | HSESSIONCTX | hSession, |
DWORD | dwStart, | ||
DWORD | dwOffset, | ||
DWORD * | pdwLogSize, | ||
BYTE ** | ppbLog ) |
#include <dinamo.h>
Retrieves the contents of the server log.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | dwStart | Starting position, in bytes, of the log to be retrieved. To receive the entire contents of the log, enter GET_LOG_START_FULL. |
[in] | dwOffset | Amount, in bytes, to be retrieved from the starting position indicated by dwStart . To receive the entire contents of the log, indicate GET_LOG_END_FULL . |
[out] | pdwLogSize | Pointer to DWORD that will contain the amount, in bytes, of the retrieved log. |
[out] | ppbLog | Pointer to the pointer that will contain the log retrieved from the server. Memory allocation is done internally by the library. The calling application is responsible for freeing the allocated memory. See the DFree() function. |
int AAP_API DTruncateLog | ( | HSESSIONCTX | hSession | ) |
#include <dinamo.h>
Allows you to delete the contents of the server log.
[in] | hSession | Context acquired through the DOpenSession() function. |
int AAP_API DFindHSM | ( | DWORD | dwServiceType, |
DWORD | dwFilter, | ||
void ** | ppvOutputData, | ||
DWORD * | pdwOutputDataLen, | ||
DWORD | dwFlags ) |
#include <dinamo.h>
Searches for available HSMs on the network using the SLP protocol via multicast.
[in] | dwServiceType | Defines the type of HSM service that will be searched for.
| ||||||||
[in] | dwFilter | Defines the type of filter to be used in the search.
| ||||||||
[out] | ppvOutputData | Pointer, of type SLP_SRVR_INFO, which will contain the list of HSMs found. Memory allocation is done internally by the library. The calling application is responsible for freeing the allocated memory. See the DFree() function. | ||||||||
[out] | pdwOutputDataLen | Pointer to DWORD that will contain the number of structures (described in dwOutputType ) returned in ppvOutputData . | ||||||||
[in] | dwFlags | Reserved for future use (must be 0). |
int AAP_API DManageAToken | ( | HSESSIONCTX | hSession, |
BYTE | bOP, | ||
DN_A_TOKEN_FULL * | pstATokenFull, | ||
funcListAKeysCallback | fnCallBack, | ||
void * | pvCallbackParam, | ||
DWORD | dwParam ) |
#include <dinamo.h>
Manages the user's ownaccess tokens.
For authentication using session tokens, see the DOpenSession() function with the SS_ATOKEN option.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||||||||
[in] | bOP | Specifies the operation to be performed.
| ||||||||||||
[in,out] | pstATokenFull | Pointer to a structure of type DN_A_TOKEN_FULL. See option bOP for instructions on how to fill in the structure. | ||||||||||||
[in] | fnCallBack | Pointer to callback function of type funcListAKeysCallback. Can be NULL. See option bOP for instructions on how to fill in the structure. | ||||||||||||
[in] | pvCallbackParam | Pointer to any parameter that will be passed to the callback function. Can be NULL. | ||||||||||||
[in] | dwParam | Reserved for future use (must be 0). |
Access Tokens are kept in volatile memory, so they are erased when the HSM is restarted. Despite being volatile, Access Tokens are replicated between HSMs.
The cleaning of expired Access Tokens takes place in 2 stages:
The maximum limit of Access Tokens issued per HSM can be seen in the table below.
Model | Maximum limit |
---|---|
1024 | |
XP | 1 Million |
ST | 1 Million |
This operation is available from version 3.17 of the HSM firmware. The implementation of Access Tokens prior to firmware version 3.17 is legacy.
Applications that use this functionality must update the HSM client to version 3.2.18 or higher, along with the HSM firmware to version 3.17 or higher.
There is no compatibility between new and old versions of the HSM client and firmware.
int AAP_API DManageATokenCache | ( | HSESSIONCTX | hSession, |
DWORD | dwOP, | ||
void * | pOutData, | ||
DWORD | dwParam ) |
#include <dinamo.h>
Manages the cache of session tokens(Access Tokens) for the entire HSM. This functionality is suitable for granular control of application authentication, where the issuing of tokens is managed by the security officer.
For authentication using session tokens, see the DOpenSession() function with the SS_ATOKEN option. Access tokens are issued using the DManageAToken() function.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||
[in] | dwOP | Specifies the operation to be performed.
| ||||||
[out] | pOutData | Output data. See usage options in dwOP . | ||||||
[in] | dwParam | Reserved for future use (must be 0). |
int AAP_API DDSBindHSM | ( | HSESSIONCTX | hSession, |
const char * | szBindKey, | ||
DWORD | dwReserved ) |
#include <dinamo.h>
Link an HSM to a Dinamo Services account.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | szBindKey | Link key. Generated on the Dinamo Services website. |
[in] | dwReserved | Reserved for future use (must be 0). |
int AAP_API DDSUnbindHSM | ( | HSESSIONCTX | hSession, |
DWORD | dwReserved ) |
#include <dinamo.h>
Disassociates an HSM from a Dinamo Services account.
[in] | hSession | Context acquired through the DOpenSession() function. |
[in] | dwReserved | Reserved for future use (must be 0). |
int AAP_API DSCGetShadow | ( | const char * | szPin, |
DN_SC_M_OF_N_SHADOW * | pstShadow, | ||
DWORD | dwReserved ) |
#include <dinamo.h>
Reads the shadow of a smart card M from N Dinamo.
[in] | szPin | Card PIN. It must be an ASCII numeric string with a maximum length of DN_SC_MAX_PIN_LEN. |
[out] | pstShadow | Shadow read data. |
[in] | dwReserved | Reserved for future use (must be 0). |
int AAP_API DNSAuthSetState | ( | HSESSIONCTX | hSession, |
DWORD | dwAcl, | ||
BYTE | bState, | ||
DN_SC_M_OF_N_SHADOW * | pstShadows, | ||
DWORD | dwShadowsCount, | ||
DWORD | dwReserved ) |
#include <dinamo.h>
Sets the authorization status of the M of N partition.
[in] | hSession | Context acquired through the DOpenSession() function. | ||||||||||||||
[in] | dwAcl | User ACL.
| ||||||||||||||
[in] | bState | State to be defined.
| ||||||||||||||
[in] | pstShadows | Data from the shadows of the Smart-cards of the M partition of N. | ||||||||||||||
[in] | dwShadowsCount | Number of shadows in pstShadows . | ||||||||||||||
[in] | dwReserved | Reserved for future use (must be 0). |
int AAP_API DGetErrorString | ( | int | nErrorValue, |
char * | szErrorCode, | ||
char * | szErrorDesc ) |
#include <dinamo.h>
const char *AAP_API DGetReturnCodeString | ( | int | nErrorValue, |
RetCodeMsgType | eErrorType ) |
#include <dinamo.h>
Retrieves the description of a return code from the APIs DINAMO.
[in] | nErrorValue | Return code. | ||||||
[in] | eErrorType | Return string type.
|
eErrorType
.