The enumContainers method enumerates all the containers for the provider specified in the ProviderName property. If that property has not been changed, then ProviderName's default value Microsoft Base Cryptographic Provider, as set in the registry, is used to do the enumeration.
[VB] BSTR enumContainers ( DWORD dwIndex ); [C++] HRESULT enumContainers ( DWORD dwIndex // in BSTR* pbstr // in );
Returns a BSTR containing the enumerated container. When there are no more containers, the error ERROR_NO_MORE_ITEMS is returned.