Contents - Index


4.2.3.32 Request Licence (Extended)

HRESULT SLS_RequestEx(
                                          LPCSTR pszProductID,
                                          LPCTSTR pszUserName,
                                          DWORD dwUserID,
                                          SLS_REQUEST *pRequest,
                                          SLS_PERMIT *pPermit,
                                          SLS_HANDLE *plLicenceHandle,
                                          SLS_CHALLENGE *pChallenge)

NB. The user name passed to the CSheriff constructor, or the SLS_Request function cannot be longer than 31 characters (32 including the null-terminator).

Extended version of SLS_Request with extra parameter dwUserID which can be used by the application to provide extra information about the user. The user ID can be retrieved by calling SLS_QueryUserInfo.