[This is preliminary documentation and subject to change.]
The EnumCertViewColumn method obtains a pointer to the IEnumCERTVIEWCOLUMN interface.
[VB] CEnumCERTVIEWCOLUMN EnumCertViewColumn(
Boolean fResultColumn
);
[JAVA] CEnumCERTVIEWCOLUMN EnumCertViewColumn(
java.lang.Boolean fResultColumn
);
[C++] HRESULT EnumCertViewColumn(
BOOL fResultColumn, // in
IEnumCERTVIEWCOLUMN **ppenum // out
);
[VB][JAVA] The return value is an IEnumCERTVIEWCOLUMN object.
[C++] The return value is an HRESULT. A value of S_OK indicates success. Upon successful completion of this function, ppenum will point to a pointer of IEnumCERTVIEWCOLUMN type.
The IEnumCERTVIEWCOLUMN object can be used to enumerate the view's columns and retrieve each column's information.
// pCertView is previously instantiated pointer to ICertView
IEnumCERTVIEWCOLUMN * pEnumCertViewCol = NULL;
HRESULT hr;
hr = pCertView->EnumCertViewColumn( TRUE, &pEnumCertViewCol );
if ( S_OK != hr )
printf("Failed EnumCERTVIEWCOLUMN call!\n");
// call error handler…
else
// use pEnumCertViewCol to access IEnumCERTVIEWCOL methods
// done using object; free resources
if ( NULL != pEnumCertViewCol )
pEnumCertViewCol->Release();
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in certview.h.
Import Library: Use certidl.lib.