Skip to content

Latest commit

 

History

History
127 lines (95 loc) · 4.58 KB

nf-certview-ienumcertviewcolumn-reset.md

File metadata and controls

127 lines (95 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.IEnumCERTVIEWCOLUMN.Reset
IEnumCERTVIEWCOLUMN::Reset (certview.h)
Moves to the beginning of the column-enumeration sequence.
IEnumCERTVIEWCOLUMN interface [Security]
Reset method
IEnumCERTVIEWCOLUMN object [Security]
Reset method
IEnumCERTVIEWCOLUMN.Reset
IEnumCERTVIEWCOLUMN::Reset
Reset
Reset method [Security]
Reset method [Security]
IEnumCERTVIEWCOLUMN interface
Reset method [Security]
IEnumCERTVIEWCOLUMN object
_certsrv_ienumcertviewcolumn_reset
certview/IEnumCERTVIEWCOLUMN::Reset
security.ienumcertviewcolumn_reset
security\ienumcertviewcolumn_reset.htm
security
0be00eb0-1a22-4849-95ca-276099bbfa74
12/05/2018
IEnumCERTVIEWCOLUMN interface [Security],Reset method, IEnumCERTVIEWCOLUMN object [Security],Reset method, IEnumCERTVIEWCOLUMN.Reset, IEnumCERTVIEWCOLUMN::Reset, Reset, Reset method [Security], Reset method [Security],IEnumCERTVIEWCOLUMN interface, Reset method [Security],IEnumCERTVIEWCOLUMN object, _certsrv_ienumcertviewcolumn_reset, certview/IEnumCERTVIEWCOLUMN::Reset, security.ienumcertviewcolumn_reset
certview.h
Certsrv.h
Windows
None supported
Windows Server 2003 [desktop apps only]
Certidl.lib
Certadm.dll
Windows
19H1
IEnumCERTVIEWCOLUMN::Reset
certview/IEnumCERTVIEWCOLUMN::Reset
c++
APIRef
kbSyntax
COM
Certadm.dll
IEnumCERTVIEWCOLUMN.Reset
IEnumCERTVIEWCOLUMN.Reset

IEnumCERTVIEWCOLUMN::Reset

-description

The Reset method moves to the beginning of the column-enumeration sequence.

-returns

VB

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.

-remarks

Upon successful completion of this method, call the IEnumCERTVIEWCOLUMN::Next method to reference the first column in the enumeration. After this second call is made, the information in the column can be obtained by calling one of the following methods:

Examples

// pEnumCol is previously instantiated IEnumCERTVIEWCOLUMN object
HRESULT    hr;
LONG        Index;
hr = pEnumCol->Reset();
if (S_OK != hr)
    printf("Unable to reset pEnumCol\n");
    // call appropriate error handler / exit routine
else
{
    // now at the beginning of the columns
    // enumerate each column
    while (S_OK == pEnumCol->Next(&Index))
    {
        // Use each column as needed.
    }
}

-see-also

IEnumCERTVIEWCOLUMN

IEnumCERTVIEWCOLUMN::GetDisplayName

IEnumCERTVIEWCOLUMN::GetMaxLength

IEnumCERTVIEWCOLUMN::GetName

IEnumCERTVIEWCOLUMN::GetType

IEnumCERTVIEWCOLUMN::GetValue