Contents - Index


4.2.3.10 Export Licence

HRESULT WINAPI SLS_ExportLicence(
                                                              LPCSTR pszProductID,
                                                              LPCSTR pszReference,
                                                              SLS_LICENCE *pLicence,
                                                              LPSTR pszLicenceKey)

Parameters

pszProductID

Points to a string that uniquely identifies the application's Product ID.

pszReference

Points to a string that contains the reference code that is obtained from the PC to which the licence is being exported.

pLicence

Points to a licence policy structure.

pszLicenceKey

Points to a buffer in which the Licence Key is to be placed. The minimum size of the buffer is 64 bytes.

Return Values

SLS_SUCCESS if the function is successful. Otherwise an error status code is returned to indicate the cause of the error.