ICredentialProviderCredentialEvents::SetFieldSubmitButton method (credentialprovider.h)

Enables credentials to set the field that the submit button appears adjacent to.

Syntax

HRESULT SetFieldSubmitButton(
  [in] ICredentialProviderCredential *pcpc,
  [in] DWORD                         dwFieldID,
  [in] DWORD                         dwAdjacentTo
);

Parameters

[in] pcpc

Type: ICredentialProviderCredential*

The credential whose submit button location is being set. This value should be set to this. See ICredentialProviderCredentialEvents for more information.

[in] dwFieldID

Type: DWORD

The unique field ID of the submit button.

[in] dwAdjacentTo

Type: DWORD

The unique field ID of the field that the submit button should be adjacent to when this method completes.

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