Skip to content

Latest commit

 

History

History
134 lines (107 loc) · 3 KB

nf-slpublic-slgetgenuineinformationex.md

File metadata and controls

134 lines (107 loc) · 3 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.SLGetGenuineInformationEx
SLGetGenuineInformationEx function (slpublic.h)
Specifies information about the genuine status of a Windows computer. (SLGetGenuineInformationEx)
SLGetGenuineInformationEx
SLGetGenuineInformationEx function [Security]
security.slgetgenuineinformationex
slpublic/SLGetGenuineInformationEx
security\slgetgenuineinformationex.htm
security
229fd8f2-ec8c-4f34-a492-caf18e036b70
12/05/2018
SLGetGenuineInformationEx, SLGetGenuineInformationEx function [Security], security.slgetgenuineinformationex, slpublic/SLGetGenuineInformationEx
slpublic.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLGetGenuineInformationEx
slpublic/SLGetGenuineInformationEx
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLGetGenuineInformationEx

SLGetGenuineInformationEx function

-description

Specifies information about the genuine status of a Windows computer.

-parameters

-param pAppId [in]

Type: const SLID*

A pointer to the application ID.

-param pwszValueName [in]

Type: PCWSTR

The name associated with the value of the property to set.

-param peDataType [out, optional]

Type: SLDATATYPE*

A pointer to a value of the SLDATATYPE enumeration that specifies the data type in the ppbValue buffer.

-param pcbValue [out]

Type: UINT*

A pointer to the size, in bytes, of the ppbValue buffer.

-param ppbValue [out]

Type: BYTE**

A pointer to the genuine status retrieved. When finished using the memory, free it by calling the LocalFree function.

-returns

Type: HRESULT WINAPI

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

Return code/value Description
SL_E_NOT_SUPPORTED
0xC004F016
The name of value is not supported.
SL_E_VALUE_NOT_FOUND
0xC004F012
The value for the input key was not found.
SL_E_NOT_GENUINE
0xC004F200
The application licensing state is non-genuine.