ICredentialProviderCredential::UnAdvise method

Used by the Logon UI or Credential UI to advise the credential that event callbacks are no longer accepted.

Syntax


HRESULT UnAdvise();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Remarks

This method is optional. If you do not implement this method, you should just return E_NOTIMPL.

If this method is called, it indicates that the ICredentialProviderCredentialEvents pointer provided in Advise is no longer valid. It is the responsibility of the credential provider to call Release on the provided ICredentialProviderCredentialEvents pointer during this method.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

See also

ICredentialProviderCredential
ICredentialProviderCredential::Advise

 

 

Show: