EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

SLGenerateOfflineInstallationIdEx function

Generates Installation ID (IID). Users can send the IID to CSR to get the Confirmation ID (CID).

Syntax


HRESULT WINAPI SLGenerateOfflineInstallationIdEx(
  _In_      HSLC hSLC,
  _In_opt_  const SLID *pProductSkuId,
  _In_opt_  const SL_ACTIVATION_INFO_HEADER *pActivationInfo,
  _Out_     PWSTR *ppwszInstallationId
);

Parameters

hSLC [in]

Type: HSLC

The handle to the current SLC context.

pProductSkuId [in, optional]

Type: const SLID*

A pointer the product ID.

pActivationInfo [in, optional]

Type: const SL_ACTIVATION_INFO_HEADER*

A pointer to additional information.

ppwszInstallationId [out]

Type: PWSTR*

The Installation ID string. Once you are finished, call the LocalFree function to free the memory.

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_PKEY_NOT_INSTALLED
0xC004F014

The product key is not available.

 

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

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft