Retrieves the count of fields in the needed to display this provider's credentials.
HRESULT GetFieldDescriptorCount( DWORD *pdwCount );
Pointer to the field count.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|