Skip to content

Latest commit

 

History

History
130 lines (110 loc) · 2.4 KB

nf-slpublic-sluninstalllicense.md

File metadata and controls

130 lines (110 loc) · 2.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:slpublic.SLUninstallLicense
SLUninstallLicense function (slpublic.h)
Uninstalls the license specified by the license file ID and target user option.
SLUninstallLicense
SLUninstallLicense function [Security]
security.sluninstalllicense
slpublic/SLUninstallLicense
security\sluninstalllicense.htm
security
1f79a26e-7605-46ad-9854-e90e73320184
12/05/2018
SLUninstallLicense, SLUninstallLicense function [Security], security.sluninstalllicense, slpublic/SLUninstallLicense
slpublic.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLUninstallLicense
slpublic/SLUninstallLicense
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLUninstallLicense

SLUninstallLicense function

-description

Uninstalls the license specified by the license file ID and target
user option.

-parameters

-param hSLC [in]

Type: HSLC

The handle to the current SLC context.

-param pLicenseFileId [in]

Type: const SLID*

A pointer to the license file ID.

-returns

Type: HRESULT WINAPI

If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.

Return code/value Description
E_INVALIDARG
0x80070057
One or more arguments are not valid.
E_ACCESSDENIED
0x80070005
Access denied (API requires admin privileges)
SL_E_LUA_ACCESSDENIED
0xC004F025
The action requires administrator privilege.
SL_E_LICENSE_FILE_NOT_INSTALLED
0xC004F011
The license file is not installed.