Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error code 0x800404b0 from CryptGetUserKey

5 views
Skip to first unread message

Mattias

unread,
Sep 12, 2006, 8:13:11 AM9/12/06
to
I have a handle acquired with CryptAcquireContext for a smart-card
provider ("RSA Sign-on Manager CSP"). Normally my CryptoAPI calls with
this handle work OK. However, if I remove and then reinsert the card,
CryptGetUserKey fails and GetLastError() returns 0x800404b0.

What does this error code mean? Errlook.exe does not recognize it (nor
does FormatMessage). I have tried to search the SDK include files for
it but can't find a definition. Obviously it has something to do with
the card being removed, but I need to know the proper way of handling
the error (and preferably I'd like to check against a symbolic name
rather than the hardcoded error value).

0 new messages