Skip to content

Latest commit

 

History

History
123 lines (101 loc) · 2.33 KB

nf-slpublic-slsetauthenticationdata.md

File metadata and controls

123 lines (101 loc) · 2.33 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.SLSetAuthenticationData
SLSetAuthenticationData function (slpublic.h)
Sets authentication data.
SLSetAuthenticationData
SLSetAuthenticationData function [Security]
security.slsetauthenticationdata
slpublic/SLSetAuthenticationData
security\slsetauthenticationdata.htm
security
68906873-6c49-4221-ad87-1e1f1463c0d4
12/05/2018
SLSetAuthenticationData, SLSetAuthenticationData function [Security], security.slsetauthenticationdata, slpublic/SLSetAuthenticationData
slpublic.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLSetAuthenticationData
slpublic/SLSetAuthenticationData
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLSetAuthenticationData

SLSetAuthenticationData function

-description

Sets authentication data.

-parameters

-param hSLC [in]

Type: HSLC

The handle to the current SLC context.

-param cbValue [in, optional]

Type: UINT

The size, in bytes, of the authentication data in pbValue.

-param pbValue [in, optional]

Type: const BYTE

A pointer to the authentication data.

-returns

Type: HRESULT WINAPI

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

Return code/value Description
ERROR_INVALID_DATA
0x8007000D
The format of authentication data is not valid.
SL_E_AUTHN_WRONG_VERSION
0xC004F077
The security version is wrong.
SL_E_NOT_SUPPORTED
0xC004F016
The authentication data format is not supported.