Windows Media Services SDK banner art
PreviousNext

INSSUserAuthentication::GetAuthenticationResult

Called to retrieve the results of the authentication.

Syntax

HRESULT GetAuthenticationResult(
NS_AUTH_RESULT  *pResult
);

Parameters

[out] pResult

Specifies a pointer to the results of the authentication. The following table shows valid results.

Values Description
NS_AUTH_SUCCESS Authentication is complete, and the client is authenticated.
NS_AUTH_DENIED Authentication is complete, and the client cannot be authenticated.
NS_AUTH_CONTINUE More data is needed to complete authentication.
NS_AUTH_ERROR An error occurred during authentication.
NS_AUTH_PENDING Authentication is in progress.

Return Values

This method must return S_OK upon successful completion, or an HRESULT error code.

Remarks

The following sample code demonstrates a skeletal implementation of this method:

HRESULT CUserAuthentication::GetAuthenticationResult(
            NS_AUTH_RESULT *pResult )
{
  //
  // Set the results of the authentication
  //
  return( S_OK ); 
}

See Also

INSSUserAuthentication::GetUserId

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.