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.SLGetPKeyInformation |
SLGetPKeyInformation function (slpublic.h) |
Gets the information of the specified product key. |
|
security\slgetpkeyinformation.htm |
security |
b7728d20-da39-4443-aaca-a6461880bb53 |
12/05/2018 |
SLGetPKeyInformation, SLGetPKeyInformation function [Security], SL_DATA_BINARY, SL_DATA_DWORD, SL_DATA_SZ, SL_INFO_KEY_CHANNEL, SL_INFO_KEY_DIGITAL_PID, SL_INFO_KEY_DIGITAL_PID2, SL_INFO_KEY_PARTIAL_PRODUCT_KEY, SL_INFO_KEY_PRODUCT_SKU_ID, security.slgetpkeyinformation, slpublic/SLGetPKeyInformation |
slpublic.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
Slc.lib |
Slc.dll |
Windows |
19H1 |
|
|
|
|
|
|
Gets the information of the specified product key.
Type: HSLC
The handle to the current SLC context.
Type: const SLID*
A pointer to the PKey ID.
Type: PCWSTR
The name associated with the value to retrieve. The following names are valid.
Type: SLDATATYPE*
The data type.
Value | Meaning |
---|---|
|
UNICODE string |
|
DWORD |
|
Binary BLOB |
Type: UINT*
A pointer to the size, in bytes, of the ppbValue buffer.
Type: PBYTE*
A pointer to the data returned by SLC.
When finished using the memory, free it by calling the LocalFree function.
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 product key is not available. |
|
The request is not supported. |