DoneEx INI-File Manager Library API Help |
EncryptKeyValue function encodes original key value by user's crypto-key string and return encrypted string in encoded_str parameter.
int EncryptKeyValue(const long ini_file_num, const long section_index, const long key_index, const char* crypto_key, const char** encoded_str, const long buf_size ); |
Return Values
If succeed the EncryptKeyValue function returns zero.
Otherwise it returns value not equal to zero.
To get extended error information, call GetLastErr.