SLSetAuthenticationData function (slpublic.h)
Sets authentication data.
Syntax
HRESULT SLSetAuthenticationData(
[in] HSLC hSLC,
[in, optional] UINT cbValue,
[in, optional] const BYTE *pbValue
);
Parameters
[in] hSLC
Type: HSLC
The handle to the current SLC context.
[in, optional] cbValue
Type: UINT
The size, in bytes, of the authentication data in pbValue.
[in, optional] pbValue
Type: const BYTE
A pointer to the authentication data.
Return value
Type: HRESULT WINAPI
If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.
Return code/value | Description |
---|---|
|
The format of authentication data is not valid. |
|
The security version is wrong. |
|
The authentication data format is not supported. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | slpublic.h |
Library | Slc.lib |
DLL | Slc.dll |