Método ICertServerExit::EnumerateAttributesSetup (certif.h)

El método EnumerateAttributesSetup inicializa el puntero de enumeración interna al primer atributo de solicitud asociado al contexto actual.

Sintaxis

HRESULT EnumerateAttributesSetup(
  [in] LONG Flags
);

Parámetros

[in] Flags

Este parámetro está reservado y debe establecerse en cero.

Valor devuelto

VB

Si el método se realiza correctamente, el método devuelve S_OK.

Si se produce un error en el método, devuelve un valor HRESULT que indica el error. Para obtener una lista de códigos de error comunes, consulte Valores HRESULT comunes.

Comentarios

Debe llamar a ICertServerExit::SetContext antes de usar este método.

Ejemplos

// Set up the enumeration.
hr = pCertServerExit->EnumerateAttributesSetup(0);
if (FAILED(hr))
{
    printf("Failed EnumerateAttributesSetup [%x]\n", hr);
    goto error;
}

Requisitos

Requisito Value
Cliente mínimo compatible No se admite ninguno
Servidor mínimo compatible Windows Server 2003 [solo aplicaciones de escritorio]
Plataforma de destino Windows
Encabezado certif.h (incluya Certsrv.h)
Library Certidl.lib
Archivo DLL Certcli.dll

Consulte también

ICertServerExit

ICertServerExit::EnumerateAttributes