SL_LICENSING_STATUS structure (slpublic.h)

Represents the licensing status.

Syntax

typedef struct _tagSL_LICENSING_STATUS {
  SLID              SkuId;
  SLLICENSINGSTATUS eStatus;
  DWORD             dwGraceTime;
  DWORD             dwTotalGraceDays;
  HRESULT           hrReason;
  UINT64            qwValidityExpiration;
} SL_LICENSING_STATUS;

Members

SkuId

Type: SLID

The SKU ID.

eStatus

Type: SLLICENSINGSTATUS

The licensing status.

dwGraceTime

Type: DWORD

The grace time in minutes.

dwTotalGraceDays

Type: DWORD

The predefined grace days in the license.

hrReason

Type: HRESULT

The error of unlicensed status.

qwValidityExpiration

Type: UINT64

The validity expiration day.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header slpublic.h