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
- pcpce
[in] A pointer to an ICredentialProviderCredentialEvents callback interface to be used as the notification mechanism.
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