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.SLConsumeRight |
SLConsumeRight function (slpublic.h) |
Let an application to exercise rights on a locally-stored licenses. |
|
security\slconsumeright.htm |
security |
d61ec4ec-c552-4963-8f4e-a1540081e747 |
12/05/2018 |
SLConsumeRight, SLConsumeRight function [Security], security.slconsumeright, slpublic/SLConsumeRight |
slpublic.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
Slc.lib |
Slc.dll |
Windows |
19H1 |
|
|
|
|
|
|
Let an application to exercise rights on a locally-stored licenses. Calling this function binds a license to the right.
Type: HSLC
The handle to the current SLC context.
Type: const SLID*
A pointer to the identifier of the application who's right is going to be
consumed.
Type: const SLID*
A pointer to the identifier of product SKU. If set to NULL, all of the product SKU's
licenses will be consumed.
Type: PCWSTR
The name of right to be consumed.
Type: PVOID
Reserved.
Type: HRESULT WINAPI
If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.
Return code/value | Description |
---|---|
|
One or more arguments are not valid. |
|
The caller does not have permission to run the software. |
|
The license is not installed. |