ICredentialProvider::GetFieldDescriptorAt method

Gets metadata that describes a specified field.

Syntax


HRESULT GetFieldDescriptorAt(
  [in]  DWORD                                dwIndex,
  [out] CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR **ppcpfd
);

Parameters

dwIndex [in]

Type: DWORD

The zero-based index of the field for which the information should be retrieved.

ppcpfd [out]

Type: CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR**

The address of a pointer to a CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR structure which receives the information about the field.

Return value

Type: HRESULT

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

Remarks

This method is required.

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: