This topic has not yet been rated - Rate this topic

ICredentialProviderCredentialEvents::SetFieldString method

Sets the field string.

Syntax


HRESULT SetFieldString(
  [in]  ICredentialProviderCredential *pcpc,
  [in]  DWORD dwFieldID,
  [in]  LPCWSTR psz
);

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 of the field for which the string is being set.

psz [in]

Type: LPCWSTR

A pointer to the field string that is being set.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.