Skip to content

Latest commit

 

History

History
133 lines (100 loc) · 4.58 KB

nf-certview-ienumcertviewrow-enumcertviewcolumn.md

File metadata and controls

133 lines (100 loc) · 4.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:certview.IEnumCERTVIEWROW.EnumCertViewColumn
IEnumCERTVIEWROW::EnumCertViewColumn (certview.h)
Obtains an instance of a column-enumeration sequence for the current row of the row-enumeration sequence.
EnumCertViewColumn
EnumCertViewColumn method [Security]
EnumCertViewColumn method [Security]
IEnumCERTVIEWROW interface
IEnumCERTVIEWROW interface [Security]
EnumCertViewColumn method
IEnumCERTVIEWROW.EnumCertViewColumn
IEnumCERTVIEWROW::EnumCertViewColumn
_certsrv_ienumcertviewrow_enumcertviewcolumn
certview/IEnumCERTVIEWROW::EnumCertViewColumn
security.ienumcertviewrow_enumcertviewcolumn
security\ienumcertviewrow_enumcertviewcolumn.htm
security
78fd2431-c4c7-4df9-856a-69665fa8c063
12/05/2018
EnumCertViewColumn, EnumCertViewColumn method [Security], EnumCertViewColumn method [Security],IEnumCERTVIEWROW interface, IEnumCERTVIEWROW interface [Security],EnumCertViewColumn method, IEnumCERTVIEWROW.EnumCertViewColumn, IEnumCERTVIEWROW::EnumCertViewColumn, _certsrv_ienumcertviewrow_enumcertviewcolumn, certview/IEnumCERTVIEWROW::EnumCertViewColumn, security.ienumcertviewrow_enumcertviewcolumn
certview.h
Certsrv.h
Windows
None supported
Windows Server 2003 [desktop apps only]
Certidl.lib
Certadm.dll
Windows
19H1
IEnumCERTVIEWROW::EnumCertViewColumn
certview/IEnumCERTVIEWROW::EnumCertViewColumn
c++
APIRef
kbSyntax
COM
Certadm.dll
IEnumCERTVIEWROW.EnumCertViewColumn
IEnumCERTVIEWROW.EnumCertViewColumn

IEnumCERTVIEWROW::EnumCertViewColumn

-description

The EnumCertViewColumn method obtains an instance of a column-enumeration sequence for the current row of the row-enumeration sequence.

-parameters

-param ppenum [out]

A pointer to a pointer of IEnumCERTVIEWCOLUMN type.

-returns

C++

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

The return value is a column-enumeration sequence object.

-remarks

The column-enumeration sequence obtained by this call can be used to enumerate the columns associated with the certificate in the current row. This enumeration can be accessed through the methods of the IEnumCERTVIEWCOLUMN interface.

To reference a different row, call one of the following methods to navigate through the row-enumeration sequence:

Examples

// pEnumRow is previously instantiated pointer to IEnumCERTVIEWROW
HRESULT               hr;
LONG                  Index;
IEnumCERTVIEWCOLUMN * pEnumCol = NULL;
// obtain enumerator for columns
hr = pEnumRow->EnumCertViewColumn(&pEnumCol);
if ( FAILED( hr ))
{
    printf("Failed EnumCertViewColumn - %x\n", hr );
    goto error;
}
// enumerate each column
while (S_OK == pEnumCol->Next(&Index))
{
    // Use this column as needed.
}
error:

// Free resources.
if ( NULL != pEnumCol )
    pEnumCol->Release();

-see-also

IEnumCERTVIEWCOLUMN

IEnumCERTVIEWROW

IEnumCERTVIEWROW::Next

IEnumCERTVIEWROW::Reset

IEnumCERTVIEWROW::Skip