ICredentialProviderCredentialEvents::SetFieldComboBoxSelectedItem method (credentialprovider.h)

Communicates to the Logon UI or Credential UI that the selected item in a combo box has changed and that the UI should be updated.

Syntax

HRESULT SetFieldComboBoxSelectedItem(
  [in] ICredentialProviderCredential *pcpc,
  [in] DWORD                         dwFieldID,
  [in] DWORD                         dwSelectedItem
);

Parameters

[in] pcpc

Type: ICredentialProviderCredential*

The credential containing the combo box being set. This value should be set to this. See ICredentialProviderCredentialEvents for more information.

[in] dwFieldID

Type: DWORD

The unique ID of the combo box.

[in] dwSelectedItem

Type: DWORD

The index of the item to select in the combo box.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header credentialprovider.h