IConnectableCredentialProviderCredential::Advise Method

Enables a credential to initiate events in the logon or credential user interface (UI) through a callback interface. This method should be called before other methods in ICredentialProviderCredential interface.

Syntax

HRESULT Advise(      
    ICredentialProviderCredentialEvents *pcpce
);

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method does not need to be implemented, and may return E_NOTIMPL if there is no reason to call it. For example, if the UI never changes.

See Also

ICredentialProviderCredential::UnAdvise