ICredentialProvider::GetFieldDescriptorCount method (credentialprovider.h)
Retrieves the count of fields in the needed to display this provider's credentials.
Syntax
HRESULT GetFieldDescriptorCount(
[out] DWORD *pdwCount
);
Parameters
[out] pdwCount
Type: DWORD*
Pointer to the field count.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method is required.
The count provided by this method must be valid for the entire usage scenario. This means that you need to include all fields, even those that are hidden or only shown under special circumstances. This value cannot be changed during a usage scenario and can only be changed when a new SetUsageScenario call is made to the provider or the ICredentialProviderEvents instance forces another enumeration.
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 |