// Define the authorization file structure typedef struct { BYTE bHeader[16]; DWORD dwHardwareID; EZDRUMMER2_VERSION version; BYTE bLicenseKey[32]; } AUTHORIZATION_FILE;
#include <Windows.h> #include <openssl/aes.h> ezdrummer 2 authorization file generator
return auth_file; }
// Set the license key memcpy(auth_file.bLicenseKey, bLicenseKey, 32); // Define the authorization file structure typedef struct
// Define the EZdrummer 2 plugin version structure typedef struct { DWORD dwVersion; BYTE bMajor; BYTE bMinor; BYTE bBuild; } EZDRUMMER2_VERSION; ezdrummer 2 authorization file generator