ICertEncodeCRLDistInfo::GetName method (certenc.h)
The GetName method returns the name at a specified index of a certificate revocation list (CRL) distribution information point.
Syntax
HRESULT GetName(
[in] LONG DistPointIndex,
[in] LONG NameIndex,
[out] BSTR *pstrName
);
Parameters
[in] DistPointIndex
Specifies the index of the distribution point for which to get a name. The first value is at index zero.
[in] NameIndex
Specifies the index of the name entry to get. The first value is at index zero.
[out] pstrName
A pointer to a BSTR that represents the name value. When you have finished using the BSTR, free it by calling the SysFreeString function.
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 name at the specified index of the specified distribution point. The return value is a Unicode string.Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | certenc.h (include Certsrv.h) |
Library | Certidl.lib |
DLL | Certenc.dll |