VLScgGetErrorLength

Syntax

int VLScgGetErrorLength (VLScg_HANDLE iHandle, int msgNum, int errLenP);
Argument Description

iHandle

The instance handle for this library.

msgNum

The number of the messages whose length is to be queried.

errLenP

Pointer to the length of the message identified by msgNum.

Description

Retrieves the length of message # msgNum recorded in the handle. It includes the space required for NULL termination.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, it returns the following error codes:

Error Code Description

VLScg_FAIL

If operation failed.

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