Give Us a Call: +1-877-99-BOPUP or Request for a Chat en Vivo

IServerClient::GetLicenseInformation method

Retrieves information about current software license on the IM server.

HRESULT GetLicenseInformation(     LPSTR lpszLicensedToString,     LPSTR lpszLicenseExpirationDate,     LPDWORD lpdwExtendedCode, );

Parameters

lpszLicensedToString
[out] Pointer to a character buffer that receives the registration name of the software license. Size of the buffer must be at least 64 symbols of length.
lpszLicenseExpirationDate
[out] Pointer to a character buffer that receives the expiration date of the software license. Size of the buffer must be at least 32 symbols of length. The date is stored in the "MM/dd/YYYY 00:00:00" format where MM — month, dd — day and YYYY indicates year.
lpdwExtendedCode
[out] Pointer to a DWORD variable that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check lpdwExtendedCode variable to get extended information on the error.