VLScgValidateCodeT

Syntax 

int VLScgValidateCodeT (VLScg_HANDLE iHandle, codeT *codeP);

 

Argument Description
iHandle The instance handle for this library.
codeP The pointer to the codeT struct.

 

Description

Validates fields value of the codeT structure.

Call this API with the filled codeT structure. It compares the CodeT fields and returns an error if any invalid value is found in the referenced-filled codeP structure. 

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, an error is returned with the actual point of failure.

For the complete list of the error codes, refer to License Generation and Revocation Error Codes .