ICredentialProviderCredentialEvents::SetFieldCheckbox method

Sets the check box of the field.

Syntax


HRESULT SetFieldCheckbox(
  [in]  ICredentialProviderCredential *pcpc,
  [in]  DWORD dwFieldID,
  [in]  BOOL bChecked,
  [in]  LPCWSTR pszLabel
);

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.

bChecked [in]

Type: BOOL

The check box status (set or unset).

pszLabel [in]

Type: LPCWSTR

A pointer to the label.

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