Export (0) Print
Expand All

ICredentialProviderCredentialEvents::SetFieldInteractiveState method

Sets the interactive state of the field.

Syntax


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

Parameters

pcpc [in]

Type: ICredentialProviderCredential*

Windows Vista, Windows 7: A pointer to the ICredentialProviderCredential.

Windows 8: Deprecated; set to nullptr.

dwFieldID [in]

Type: DWORD

The Field ID.

cpfis [in]

Type: CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE

The credential provider field interactive state. One of the members of the CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE enum.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft