SLDepositOfflineConfirmationId function

Deposits Installation ID (IID) and Confirmation ID (CID) for offline activation.

Syntax


HRESULT WINAPI SLDepositOfflineConfirmationId(
  _In_  HSLC hSLC,
  _In_  const SLID *pProductSkuId,
  _In_  PCWSTR pwszInstallationId,
  _In_  PCWSTR pwszConfirmationId
);

Parameters

hSLC [in]

Type: HSLC

The handle to the current SLC context.

pProductSkuId [in]

Type: const SLID*

A pointer to the product ID.

pwszInstallationId [in]

Type: PCWSTR

The Installation ID generated by the SLGenerateOfflineInstallationId function.

pwszConfirmationId [in]

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/valueDescription
E_INVALIDARG
0x80070057

One or more arguments are not valid.

SL_E_CIDIID_INVALID_CHECK_DIGITS
0xC004F04D

The Installation ID (IID) or the Confirmation ID (CID) is not valid.

SL_E_PRODUCT_SKU_NOT_INSTALLED
0xC004F015

The license is not installed.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Slpublic.h

Library

Slc.lib

DLL

Slc.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft