L_DicomSetIndexForEncryptISCL
#include "ltdic.h"
L_LTDIC_API L_UINT32 L_DicomSetIndexForEncryptISCL(hNet, nIndex)
HDICOMNET hNet; |
/* handle to an existing DICOM Network */ |
L_UINT32 nIndex; |
/* index */ |
Sets the index of the encryption key. This function is available in the Medical Suite toolkits.
Parameter |
Description |
hNet |
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function. |
nIndex |
Index of the encryption key to be used. Possible values for this index are 1 through 8 and DICOM_ISCL_UNIQUE_SESSION_KEYS. |
Returns
DICOM_SUCCESS |
Success. The key in the specified location in the array was set as the key to use for encryption. |
DICOM_ERROR_PARAMETER |
A parameter error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Example
For an example, refer to L_DicomSetEncryptKeyISCL.