HRESULT SLS_QueryLicenceInfo( Parameters pszProductID Points to a string that uniquely identifies the application's Product ID. pLicenceInfo Points to a buffer to receive information about licence policy and usage. Return Values SLS_SUCCESS if the function is successful. Otherwise an error status code is returned to indicate the cause of the error. SLS_E_LICENCE_UNREGISTERED if the licence is not yet registered on the user's PC. Remarks
The SLS_QueryLicenceInfo returns an SLS_LICENCE_INFO structure data containing licence policy and its current usage. If the functions returns successfully, the state of the licence, i.e. pLicenceInfo->state should be further checked.
|