ICredentialProviderCredentialEvents::SetFieldSubmitButton method

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

pcpc [in]

Type: ICredentialProviderCredential*

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

dwFieldID [in]

Type: DWORD

The unique field ID of the submit button.

dwAdjacentTo [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Show: