Skip to content

Latest commit

 

History

History
112 lines (91 loc) · 2.96 KB

nf-slpublic-slgetwindowsinformation.md

File metadata and controls

112 lines (91 loc) · 2.96 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.SLGetWindowsInformation
SLGetWindowsInformation function (slpublic.h)
Retrieves the value portion of a name-value pair from the licensing policy of a software component.
SLGetWindowsInformation
SLGetWindowsInformation function [Security]
security.slgetwindowsinformation
slpublic/SLGetWindowsInformation
security\slgetwindowsinformation.htm
security
007b3f3a-c320-4bbc-ab5c-746b513cb815
12/05/2018
SLGetWindowsInformation, SLGetWindowsInformation function [Security], security.slgetwindowsinformation, slpublic/SLGetWindowsInformation
slpublic.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLGetWindowsInformation
slpublic/SLGetWindowsInformation
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLGetWindowsInformation

SLGetWindowsInformation function

-description

Retrieves the value portion of a name-value pair from the licensing policy of a software component.

-parameters

-param pwszValueName [in]

A pointer to a null-terminated string that contains the name associated with the value to retrieve.

-param peDataType [out, optional]

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

-param pcbValue [out]

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

-param ppbValue [out]

A pointer to an array of BYTE pointers that specifies the value associated with the name specified by the pwszValueName parameter.

When you have finished using this array, free it by calling the LocalFree function.

-returns

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

This function can return the following values defined in Slerror.h.

Return code/value Description
SL_E_VALUE_NOT_FOUND
0xC004F012
The specified name-value pair was not found.
SL_E_RIGHT_NOT_GRANTED
0xC004F013
The caller does not have the permissions necessary to call this function.