SLGetReferralInformation function (slpublic.h)
Gets referral information for the specified product.
Syntax
HRESULT SLGetReferralInformation(
[in] HSLC hSLC,
[in] SLREFERRALTYPE eReferralType,
[in] const SLID *pSkuOrAppId,
[in] PCWSTR pwszValueName,
[out] PWSTR *ppwszValue
);
Parameters
[in] hSLC
Type: HSLC
The handle retrieved by previous call to the SLOpen function.
[in] eReferralType
Type: SLREFERRALTYPE
The referral type.
[in] pSkuOrAppId
Type: const SLID*
A pointer to the SLID of the application or SKU from which to obtain information.
[in] pwszValueName
Type: PCWSTR
The name associated with the value to retrieve. The following names are valid.
[out] ppwszValue
Type: PWSTR*
The value to store. When finished using the memory, free it by calling the LocalFree function.
Return value
Type: HRESULT WINAPI
If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.
Return code/value | Description |
---|---|
|
One or more arguments are not valid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | slpublic.h |
Library | Slc.lib |
DLL | Slc.dll |