CryptCATGetMemberInfo function (mscat.h)
[The CryptCATGetMemberInfo function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The CryptCATGetMemberInfo function retrieves member information from the catalog's PKCS #7. In addition to retrieving the member information for a specified reference tag, this function opens a member context. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.
Syntax
CRYPTCATMEMBER * CryptCATGetMemberInfo(
[in] HANDLE hCatalog,
[in] LPWSTR pwszReferenceTag
);
Parameters
[in] hCatalog
A handle to the catalog. This parameter cannot be NULL.
[in] pwszReferenceTag
A pointer to a null-terminated string that represents the reference tag for the member information being retrieved.
Return value
A pointer to the CRYPTCATMEMBER structure that contains the member information or NULL, if no information can be found.
Remarks
Do not free the returned pointer nor any of the members pointed to by the returned pointer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | mscat.h |
Library | Wintrust.lib |
DLL | Wintrust.dll |