CodeMDecrypt (FUN)
FUNCTION CodeMDecrypt : RTS_IEC_RESULT
Decrypt data
- InOut:
Scope
Name
Type
Comment
Return
CodeMDecryptRTS_IEC_RESULTError code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded
Input
hCodeMeterRTS_IEC_HANDLEHandle to the CodeMeter license container retrieved by CodeMOpen().
udiEncryptionCodeUDINTEncryption code
ulCRCUDINTCRC of the encrypted data
pbyDataPOINTER TO BYTE
Pointer to data to decrypt
nDataLen__XWORDLength of data to decrypt