Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deposits Installation ID (IID) and Confirmation ID (CID) for offline activation.
Syntax
HRESULT SLDepositOfflineConfirmationId(
[in] HSLC hSLC,
[in] const SLID *pProductSkuId,
[in] PCWSTR pwszInstallationId,
[in] PCWSTR pwszConfirmationId
);
Parameters
[in] hSLC
Type: HSLC
The handle to the current SLC context.
[in] pProductSkuId
Type: const SLID*
A pointer to the product ID.
[in] pwszInstallationId
Type: PCWSTR
The Installation ID generated by the SLGenerateOfflineInstallationId function.
[in] pwszConfirmationId
Type: PCWSTR
The confirmation ID CSR.
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. |
|
The Installation ID (IID) or the Confirmation ID (CID) is not valid. |
|
The license is not installed. |
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 |