Expand Minimize
EN
Este conteúdo não está disponível no seu idioma mas aqui tem a versão em inglês.

CryptCATEnumerateAttr function

[The CryptCATEnumerateAttr function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The CryptCATEnumerateAttr function enumerates the attributes associated with a member of a catalog. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

Syntax


CRYPTCATATTRIBUTE* CryptCATEnumerateAttr(
  _In_  HANDLE hCatalog,
  _In_  CRYPTCATMEMBER *pCatMember,
  _In_  CRYPTCATATTRIBUTE *pPrevAttr
);

Parameters

hCatalog [in]

Handle for the catalog that contains the member identified by pCatMember. This value cannot be NULL.

pCatMember [in]

A pointer to the CRYPTCATMEMBER structure that identifies which member of the catalog is being enumerated.

pPrevAttr [in]

A pointer to the previously returned value from this function or pointer to NULL to start the enumeration.

Return value

The return value is a pointer to the CRYPTCATATTRIBUTE structure that contains the attribute information or NULL, if no more attributes are in the enumeration or if an error is encountered. The returned pointer is passed in as the pPrevAttr parameter for subsequent calls to this function.

Remarks

Do not free the returned pointer nor any of the members pointed to by the returned pointer.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mscat.h

Library

Wintrust.lib

DLL

Wintrust.dll

See also

CryptCATEnumerateCatAttr

 

 

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2014 Microsoft