CascLib API Reference
CascAddEncryptionKey
bool WINAPI CascAddEncryptionKey( HANDLE hStorage, // Handle to an open storage ULONGLONG KeyName, // "Name" of the key LPBYTE Key // 16-byte key );
Function CascAddEncryptionKey inserts an additional encryption key into they storage structure. Useful when you discover a new Casc encyption key and want to use without update of CascLib.
On success, the function returns true.
On failure, the function returns false and GetLastError() returns the error code.
Copyright (c) Ladislav Zezula 2019