ICertEncodeCRLDistInfo::GetNameCount method

The GetNameCount method returns the number of names in a certificate revocation list (CRL) distribution point.

Syntax


HRESULT GetNameCount(
  [in]   LONG DistPointIndex,
  [out]  LONG *pNameCount
);

Parameters

DistPointIndex [in]

Specifies the index of the distribution point for which to get the name count.

pNameCount [out]

A pointer to a Long that will represent the number of name values contained in the CRL distribution point.

Return value

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 the number of names in the CRL distribution point.

Examples

For an example that uses the GetNameCount method, see the ICertEncodeCRLDistInfo::Encode method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeCRLDistInfo is defined as 01958640-bbff-11d0-8825-00a0c903b83c

See also

ICertEncodeCRLDistInfo
ICertEncodeCRLDistInfo::GetDistPointCount
ICertEncodeCRLDistInfo::GetName
ICertEncodeCRLDistInfo::SetNameCount

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.