WR_GetLicenseID

Retrieves the License ID from the license file. If the application has yet to be activated the License ID will be set to 0.

Syntax

Visual Basic
Declare Function WR_GetLicenseID(ByRef licenseID As Long) As Long
C/C++:
LONG WR_GetLicenseID(LPLONG licenseid);

Arguments

licenseid
Variable where the License ID will be stored.

Returns

If the call fails, any of the API Error Codes may be returned.

-2
The application has not been wrapped.
-1
The API is not available. Please check your wizard settings. See the Testing section in the API Setup topic for more information.
1
The License ID was successfully stored in licenseid.