[Bug 6194] BITS Service fails to install
Wine Bugs
wine-bugs at winehq.org
Sun May 27 11:47:33 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=6194
------- Additional Comments From focht at gmx.net 2007-27-05 11:47 -------
Hello,
the prototypes is correct, though it could be LPCWSTR for const correctness :-)
Looking at API trace it seems to enumerates all attributes from catalog (given
handle) and compares the attribute name.
It returns the CRYPTCATATTRIBUTE on the match.
E.g. something like this:
--- snip pseudo code CryptCATGetCatAttrInfo() ---
..
CRYPTCATATTRIBUTE* pAttr = NULL;
while( (pAttr = CryptCATEnumerateCatAttr( hCatalog, pAttr)) != NULL)
{
if( wcsicmp( (LPCWSTR) pAttr->pwszReferenceTag, attr_name) == 0)
break;
}
if( pAttr == NULL)
{
SetLastError( CRYPT_E_NOT_FOUND);
}
return pAttr;
--- snip pseudo code CryptCATGetCatAttrInfo() ---
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the wine-bugs
mailing list