Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 3.88 KB

nf-credentialprovider-icredentialprovidercredential-reportresult.md

File metadata and controls

91 lines (68 loc) · 3.88 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:credentialprovider.ICredentialProviderCredential.ReportResult
ICredentialProviderCredential::ReportResult (credentialprovider.h)
Translates a received error status code into the appropriate user-readable message.
ICredentialProviderCredential interface [Windows Shell]
ReportResult method
ICredentialProviderCredential.ReportResult
ICredentialProviderCredential::ReportResult
ReportResult
ReportResult method [Windows Shell]
ReportResult method [Windows Shell]
ICredentialProviderCredential interface
credentialprovider/ICredentialProviderCredential::ReportResult
shell.ICredentialProviderCredential_ReportResult
shell_ICredentialProviderCredential_ReportResult
shell\ICredentialProviderCredential_ReportResult.htm
shell
13d6dda7-4a4f-45bf-af91-72f80497b9f7
12/05/2018
ICredentialProviderCredential interface [Windows Shell],ReportResult method, ICredentialProviderCredential.ReportResult, ICredentialProviderCredential::ReportResult, ReportResult, ReportResult method [Windows Shell], ReportResult method [Windows Shell],ICredentialProviderCredential interface, credentialprovider/ICredentialProviderCredential::ReportResult, shell.ICredentialProviderCredential_ReportResult, shell_ICredentialProviderCredential_ReportResult
credentialprovider.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Credentialprovider.idl
Windows
19H1
ICredentialProviderCredential::ReportResult
credentialprovider/ICredentialProviderCredential::ReportResult
c++
APIRef
kbSyntax
COM
Credentialprovider.h
ICredentialProviderCredential.ReportResult

ICredentialProviderCredential::ReportResult

-description

Translates a received error status code into the appropriate user-readable message. The Credential UI does not call this method.

-parameters

-param ntsStatus [in]

Type: NTSTATUS

The NTSTATUS value that reflects the return value of the Winlogon call to LsaLogonUser.

-param ntsSubstatus [in]

Type: NTSTATUS

The NTSTATUS value that reflects the value pointed to by the SubStatus parameter of LsaLogonUser when that function returns after being called by Winlogon.

-param ppszOptionalStatusText [out]

Type: LPWSTR*

A pointer to the error message that will be displayed to the user. May be NULL.

-param pcpsiOptionalStatusIcon [out]

Type: CREDENTIAL_PROVIDER_STATUS_ICON*

A pointer to an icon that will shown on the credential. May be NULL.

-returns

Type: HRESULT

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

-remarks

This method is required for Logon UI.

This method is used to report the outcome of a logon attempt back to a credential. The information in ntsStatus and ntsSubstatus can also be used when credential providers want to generate custom error messages. That status text from this call will be displayed on the selected credential.