EnumerateExtensions

The EnumerateExtensions method returns the OID of the current extension within the certificate to be published, then increments the internal pointer to the next extension. If the last extension was already enumerated, the method returns NULL.

[VB] BSTR EnumerateExtensions(void);
[JAVA] java.lang.String EnumerateExtensions(void);
[C++] HRESULT EnumerateExtensions(
  BSTR * pstrExtensionName  // out, return value
);
 

Parameters

[C++] pstrExtensionName
Points to the return value. See Return Values.

Return Values

Returns a string specifying the name of the enumerated extension, or NULL if the last extension was already enumerated. Additionally, an HRESULT of S_FALSE is returned to C++ code if the last extension was already enumerated.


© 1997 by Microsoft Corporation. All rights reserved.