VLScgGetNumErrors

Syntax

int VLScgGetNumErrors (VLScg_HANDLE iHandle, int *numMsgsP);
Argument Description
iHandle

The pointer to the instance handle for this library.

numMsgsP

The number of messages queued to the handle.

Description

Retrieves the number of messages queued to the handle and returns it in numMsgP. The corresponding code can be:

int errNo;
VLScg_HANDLE  iHandle;
VLScgGetNumErrors(iHandle,&errNo);

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 .