SLGetAuthenticationResult function (slpublic.h)
Gets the authentication results.
Syntax
HRESULT SLGetAuthenticationResult(
[in] HSLC hSLC,
[out] UINT *pcbValue,
[out] PBYTE *ppbValue
);
Parameters
[in] hSLC
Type: HSLC
The handle to the current SLC context.
[out] pcbValue
Type: UINT*
A pointer to the size, in bytes, of the authentication result.
[out] ppbValue
Type: PBYTE*
A pointer to the authentication result. When finished using the memory, free it by calling the LocalFree function.
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 key used in the SLSetAuthenticationData function call is incorrect. |
|
The authentication cannot be completed. |
|
The authentication data (challenge) is not set. |
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 |