Create a new license file at the "pFilePath" location.
The calling software should make one or more invocations of setPropInt and setPropString before calling this function. This function will write out all properties defined by setPropInt and setPropSting to the new license file and then seal its contents with a signature so that it cannot be tampered.
- Parameters
-
pFilePath | [ in ] Location to create the new license file. |
- Returns
- standard error codes.
-
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eAccess | LICENSE_CREATE is not set. |
P6R::eInvalidArg | pFilePath was set to NULL. |
P6R::eTooSmall | No properties defined, at least one required. |
P6R::eNotFound | Internal error |