Contents - Index


4.2.3.34 SetOptions

HRESULT WINAPI SLS_SetOptions(
                                                        LPCSTR pszProductID,
                                                        SLS_HANDLE lLicenceHandle,
                                                        SLS_OPTIONS *pOptions,
                                                        SLS_CHALLENGE *pChallenge)

Parameters

pszProductID

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

lLicenseHandle

Specifies the handle to the licensing context. This parameter must be a handle created with the SLS_Request function.

Options

Points to an options structure.

pChallenge

Points to a challenge structure from which the challenge will be verfied.

Return Values

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