ICredentialProviderCredentialEvents::SetFieldInteractiveState method

Communicates to the Logon UI or Credential UI that the interactivity state of a field has changed and that the UI should be updated.

Syntax


HRESULT SetFieldInteractiveState(
  [in] ICredentialProviderCredential               *pcpc,
  [in] DWORD                                       dwFieldID,
  [in] CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE cpfis
);

Parameters

pcpc [in]

Type: ICredentialProviderCredential*

The credential containing a field whose interactivity state is being set. This value should be set to this. See ICredentialProviderCredentialEvents for more information.

dwFieldID [in]

Type: DWORD

The unique ID of the field.

cpfis [in]

Type: CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE

The new interactive state of the field.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Show: