mdz_unicode_init_attached - maxdz-gmbh/mdz_unicode GitHub Wiki
Initializes unicode library. This function should be caled before any other function of the library.
Memory for license data starts at position pStart. Size of internal initialization structure is returned in pSize.
mdz_bool mdz_unicode_init_attached(
const uint32_t* pFirstNameHash,
const uint32_t* pLastNameHash,
const uint32_t* pEmailHash,
const uint32_t* pLicenseHash,
const char* pStart,
size_t nAreaSize,
size_t* pOutSize);
| Parameter | Description |
|---|---|
pFirstNameHash |
user first name hash code |
pLastNameHash |
user last name hash code |
pEmailHash |
user e-mail hash code |
pLicenseHash |
license hash code |
pStart |
memory start position of license data |
nAreaSize |
size of available memory from pStart in bytes. Should be large enough for license data (> 500 bytes) |
pOutSize |
actual size of placed license data in bytes |
| Return | Description |
|---|---|
| mdz_true | if the initialization has succeed, otherwise false |