IEnumCERTVIEWROW interface (certview.h)

The IEnumCERTVIEWROW interface represents a row-enumeration sequence that contains the data in the rows of the Certificate Services view, allowing further access to the columns, attributes, and extensions associated with each row.

The row-enumeration sequence is obtained through a call to the ICertView::OpenView method. After this enumeration sequence is obtained, the IEnumCERTVIEWROW methods can be used to perform the following tasks:

  • Navigate through the enumeration sequence.
  • Obtain other objects for enumerating the columns, certificate extensions, or attributes associated with a specific row.
  • Retrieve the maximum number of rows for the view.

IEnumCERTVIEWROW is defined in Certview.h. When you create your program, however, use Certsrv.h as the include file. Certadm.dll provides the IEnumCERTVIEWROW interface. The type information for this interface is also in Certadml.dll, which is shipped with the Platform Software Development Kit (SDK).

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.


The IEnumCERTVIEWROW interface inherits from the IDispatch interface. IEnumCERTVIEWROW also has these types of members:


The IEnumCERTVIEWROW interface has these methods.


Obtains an instance of an attribute-enumeration sequence for the current row of the row-enumeration sequence.

Obtains an instance of a column-enumeration sequence for the current row of the row-enumeration sequence.

Obtains an instance of an extension-enumeration sequence for the current row of the row-enumeration sequence.

Retrieves the maximum valid index value after all the rows in the row-enumeration sequence have been referenced.

Moves to the next row in the row-enumeration sequence.

Moves to the beginning of the row-enumeration sequence.

Skips a specified number of rows in the row enumeration sequence.


Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certview.h (include Certsrv.h)

See also