Generates a Protection PLUS 4 compatible trigger code "User Code 1" (or Session Code) value, which may be used to make each activation attempt and each trigger code issued for a system unique.
This function is compatible with pp_cenum.
All possible return values are included in the SK_ResultCode enumeration. Return codes to expect include:
| Result Code | Description |
|---|---|
| SK_ResultCode.SK_ERROR_NONE | No error. |
| SK_ResultCode.SK_ERROR_INVALID_ARGUMENTS | Some or all of the arguments are invalid. |
| SK_ResultCode.SK_ERROR_DATETIME_CONVERSION_FAILED | A date-time conversion operation failed. |