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.
Checks if the license BLOB has been installed already.
Syntax
HRESULT SLGetLicenseFileId(
[in] HSLC hSLC,
[in] UINT cbLicenseBlob,
[in] const BYTE *pbLicenseBlob,
[out] SLID *pLicenseFileId
);
Parameters
[in] hSLC
The handle to the current SLC context.
[in] cbLicenseBlob
The size, in bytes, of the license BLOB.
[in] pbLicenseBlob
A pointer to the number of licenses in the BLOB.
[out] pLicenseFileId
A pointer to the license file ID.
Return value
If the License has been previously installed, it returns a SLID. Otherwise, it returns an HRESULT error code.
Return code/value | Description |
---|---|
|
One or more arguments are not valid. |
|
The license is not valid. |
|
The license file 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 |