Contents - Index


4.2.3.23 Move Licence

HRESULT WINAPI SLS_MoveLicence(
                                                            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 to be moved.

pLicence

Points to a SLS_LICENCE structure to receive licence policies.

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.