Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SLGetAuthenticationResult function

Gets the authentication results.

Syntax


HRESULT WINAPI SLGetAuthenticationResult(
  _In_  HSLC  hSLC,
  _Out_ UINT  *pcbValue,
  _Out_ PBYTE *ppbValue
);

Parameters

hSLC [in]

Type: HSLC

The handle to the current SLC context.

pcbValue [out]

Type: UINT*

A pointer to the size, in bytes, of the authentication result.

ppbValue [out]

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/valueDescription
SL_E_AUTHN_MISMATCHED_KEY
0xC004F078

The key used in the SLSetAuthenticationData function call is incorrect.

SL_E_AUTHN_CANT_VERIFY
0xC004F07A

The authentication cannot be completed.

SL_E_AUTHN_CHALLENGE_NOT_SET
0xC004F079

The authentication data (challenge) is not set.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Slpublic.h

Library

Slc.lib

DLL

Slc.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft